File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 66
66
gh pr create --base "$GIT_BRANCH" --fill --head "${{ env.PR_BRANCH_NAME }}" --label "lgtm" --label "approved"
67
67
fi
68
68
env :
69
- GITHUB_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
69
+ GITHUB_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
70
70
- name : Wait until PR with code changes is merged
71
71
run : |
72
72
if git branch -a | grep "${{ env.PR_BRANCH_NAME }}"; then
@@ -84,17 +84,15 @@ jobs:
84
84
- name : Image Build
85
85
run : |
86
86
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 }} .
90
88
- name : Login to Quay.io
91
- uses : docker/login-action@v2
89
+ uses : redhat-actions/podman-login@v1
92
90
with :
93
91
registry : quay.io
94
92
username : ${{ secrets.QUAY_ID }}
95
93
password : ${{ secrets.QUAY_TOKEN }}
96
94
- 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 }}
98
96
- name : Image Push Latest
99
97
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