From 8c9a874c43565c8440a5b070ea64b18048f1c362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eirik=20Kol=C3=A5s?= Date: Sun, 24 Sep 2023 22:58:51 +0200 Subject: [PATCH] changed tag names --- .github/workflows/docker-publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index cabc085..77675aa 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -11,7 +11,8 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} + REPOSITORY_NAME: ${{ github.repository }} + IMAGE_NAME_PREFIX: vortex jobs: build-and-push-image: @@ -42,7 +43,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.filename }} + images: ${{ env.IMAGE_NAME_PREFIX }}-${{ matrix.filename }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -60,7 +61,7 @@ jobs: context: . file: Dockerfile.${{ matrix.filename }} push: ${{ github.event_name != 'pull_request' }} - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.filename }}:${{ matrix.architecture }}-latest + tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}-${{ matrix.filename }}:${{ matrix.architecture }}-latest labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max