dfasd
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11s
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user