fix: Prefix the image name with our registry in the tag
Some checks failed
Build and publish custom Asciidoctor image / Build and push to Container Registry (push) Failing after 1m44s

This commit is contained in:
Elyan 2024-10-13 15:27:04 +02:00
parent 8559aec613
commit b3383e7c7f

View File

@ -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