1
0
Fork 0

Separate push from build
All checks were successful
/ build-image (push) Successful in 9m14s

This commit is contained in:
ver4a 2024-11-06 10:20:40 +01:00
parent 266ae1941b
commit 3cd85014e5

View file

@ -6,5 +6,6 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: cd ${{ env.GITHUB_WORKSPACE }} - run: cd ${{ env.GITHUB_WORKSPACE }}
- run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }} - run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }}
- run: podman build . --no-cache --pull=newer --squash-all -t docker://${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40 - run: podman build . --no-cache --pull=newer --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
- run: podman image prune -f - run: podman image prune -f