From e912e9388f2ca398c54a1d60fd3660e4cce17c79 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 28 Jul 2024 22:42:02 +0200 Subject: [PATCH 1/2] Update docker.yml --- .github/workflows/docker.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6ee920c0..9f5cf06b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,6 +5,10 @@ on: pull_request: workflow_dispatch: +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + jobs: build-publish: env: From b4b0b5ac9c2bd147657752c3cd697d148bde5e79 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 28 Jul 2024 22:48:33 +0200 Subject: [PATCH 2/2] Update docker.yml --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9f5cf06b..d3d40b63 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -38,7 +38,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ github.repository }} + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }} type=raw,value=edge,enable=${{ github.ref == 'refs/heads/dev' }}