This makes pull failure a build time failure.
This commit is contained in:
parent
02d8c30a0d
commit
cb71569c13
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: cd ${{ env.GITHUB_WORKSPACE }}
|
||||
- run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }}
|
||||
- run: podman build . --no-cache --pull=newer --squash-all -t ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
||||
- run: podman build . --no-cache --pull=always --squash-all -t ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
||||
- run: podman push ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40 ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
||||
- if: '!cancelled()'
|
||||
run: podman image rm -f ${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40 && podman image prune -f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue