From a1212c6312c35c6efee8e30ef70fff1d2e7da367 Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Sun, 15 Feb 2026 21:05:51 +0100 Subject: [PATCH] Tag Docker images with both git tag and latest Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/build.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9563caa..19e884a 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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