From b3383e7c7fa92606a9130080b6a6ba21f6025306 Mon Sep 17 00:00:00 2001 From: Elyan Date: Sun, 13 Oct 2024 15:27:04 +0200 Subject: [PATCH] fix: Prefix the image name with our registry in the tag --- .gitea/workflows/image.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/image.yaml b/.gitea/workflows/image.yaml index 7f25924..8322408 100644 --- a/.gitea/workflows/image.yaml +++ b/.gitea/workflows/image.yaml @@ -8,6 +8,9 @@ on: - "docker/Dockerfile" - ".gitea/workflows/image.yaml" +env: + DOCKER_IMG: docker-asciidoctor-wavedrom + jobs: build: name: Build and push to Container Registry @@ -39,6 +42,6 @@ jobs: context: ./docker platforms: linux/amd64,linux/arm64 tags: | - docker-asciidoctor-wavedrom:${{ github.sha }} - docker-asciidoctor-wavedrom:latest + ${{ vars.CONTAINER_REGISTRY_URL }}/${{ env.DOCKER_IMG }}:${{ gitea.sha }} + ${{ vars.CONTAINER_REGISTRY_URL }}/${{ env.DOCKER_IMG }}:latest push: true