Tag Docker images with both git tag and latest
All checks were successful
Build and Push / build (push) Successful in 8s
All checks were successful
Build and Push / build (push) Successful in 8s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,7 @@ jobs:
|
|||||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||||
TAG=${{ inputs.tag }}
|
TAG=${{ inputs.tag }}
|
||||||
fi
|
fi
|
||||||
IMAGE=gitea.home.hrajfrisbee.cz/${{ github.repository }}:$TAG
|
REPO=gitea.home.hrajfrisbee.cz/${{ github.repository }}
|
||||||
docker build -f build/Dockerfile -t $IMAGE .
|
docker build -f build/Dockerfile -t $REPO:$TAG -t $REPO:latest .
|
||||||
docker push $IMAGE
|
docker push $REPO:$TAG
|
||||||
|
docker push $REPO:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user