From 85ec7c163a808d9613ed5fa8811c698c4d6b6d01 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 28 Jul 2024 22:41:21 +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 6ee920c..9f5cf06 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 ceab2c0138bfb615644150cf835813ddae593c82 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 28 Jul 2024 22:48:07 +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 9f5cf06..d3d40b6 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' }}