dfasd
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11s

This commit is contained in:
2026-01-19 23:31:54 +01:00
parent 28266524bd
commit 5dac0b4c30

View File

@@ -37,7 +37,7 @@ jobs:
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.govekar.net/lovrog05/gif:${BRANCH_NAME}-${SHORT_HASH:0:5} . docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.govekar.net/lovrog05/gif:${BRANCH_NAME}-${SHORT_HASH:0:5} .
# Tag the same image as "latest" # Tag the same image as "latest"
docker tag git.govekar.net/lovrog05/gif:${BRANCH_NAME}-${SHORT_HASH:0:5} git.govekar.net/lovrog05/gif:${BRANCH_NAME}-latest docker tag git.govekar.net/lovrog05/gif:${BRANCH_NAME}-${SHORT_HASH:0:5} git.govekar.net/lovrog05/gif:latest
- name: Push Docker Images - name: Push Docker Images
env: env:
@@ -45,7 +45,7 @@ jobs:
SHORT_HASH: ${{ github.sha }} SHORT_HASH: ${{ github.sha }}
run: | run: |
docker push git.govekar.net/lovrog05/gif:${BRANCH_NAME}-${SHORT_HASH:0:5} docker push git.govekar.net/lovrog05/gif:${BRANCH_NAME}-${SHORT_HASH:0:5}
docker push git.govekar.net/lovrog05/gif:${BRANCH_NAME}-latest docker push git.govekar.net/lovrog05/gif:latest
- name: Log out from registry - name: Log out from registry
if: always() if: always()