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