File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 6666 gh pr create --base "$GIT_BRANCH" --fill --head "${{ env.PR_BRANCH_NAME }}" --label "lgtm" --label "approved"
6767 fi
6868 env :
69- GITHUB_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
69+ GITHUB_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
7070 - name : Wait until PR with code changes is merged
7171 run : |
7272 if git branch -a | grep "${{ env.PR_BRANCH_NAME }}"; then
@@ -84,17 +84,15 @@ jobs:
8484 - name : Image Build
8585 run : |
8686 cd custom-nb-image
87- docker build --build-arg SDK_VERSION="${{ github.event.inputs.release-version }}" -t quay.io/${{ github.event.inputs.quay-organization }}/notebook:v${{ github.event.inputs.release-version }} .
88- docker tag quay.io/${{ github.event.inputs.quay-organization }}/notebook:v${{ github.event.inputs.release-version }} quay.io/${{ github.event.inputs.quay-organization }}/notebook:latest
89-
87+ podman build --build-arg SDK_VERSION="${{ github.event.inputs.release-version }}" -t quay.io/${{ github.event.inputs.quay-organization }}/notebook:v${{ github.event.inputs.release-version }} .
9088 - name : Login to Quay.io
91- uses : docker/login-action@v2
89+ uses : redhat-actions/podman-login@v1
9290 with :
9391 registry : quay.io
9492 username : ${{ secrets.QUAY_ID }}
9593 password : ${{ secrets.QUAY_TOKEN }}
9694 - name : Image Push
97- run : docker push quay.io/${{ github.event.inputs.quay-organization }}/notebook:v${{ github.event.inputs.release-version }}
95+ run : podman push quay.io/${{ github.event.inputs.quay-organization }}/notebook:v${{ github.event.inputs.release-version }}
9896 - name : Image Push Latest
9997 if : ${{ inputs.is-latest }}
100- run : docker push quay.io/${{ github.event.inputs.quay-organization }}/notebook:latest
98+ run : podman push quay.io/${{ github.event.inputs.quay-organization }}/notebook:v${{ github.event.inputs.release-version }} quay.io/${{ github.event.inputs.quay-organization }}/notebook:latest
You can’t perform that action at this time.
0 commit comments