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
|
||||
TAG=${{ inputs.tag }}
|
||||
fi
|
||||
IMAGE=gitea.home.hrajfrisbee.cz/${{ github.repository }}:$TAG
|
||||
docker build -f build/Dockerfile -t $IMAGE .
|
||||
docker push $IMAGE
|
||||
REPO=gitea.home.hrajfrisbee.cz/${{ github.repository }}
|
||||
docker build -f build/Dockerfile -t $REPO:$TAG -t $REPO:latest .
|
||||
docker push $REPO:$TAG
|
||||
docker push $REPO:latest
|
||||
|
||||
Reference in New Issue
Block a user