From 52d77bf87d7592973d9867d47305133856c3087c Mon Sep 17 00:00:00 2001 From: texm Date: Tue, 25 Apr 2023 15:14:52 +0800 Subject: [PATCH] fix pt 2 --- .github/workflows/publish-image.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 123d1f9..b0782e0 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -7,6 +7,10 @@ on: tags: - 'v*' +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + jobs: build: runs-on: ubuntu-latest @@ -29,7 +33,7 @@ jobs: id: meta uses: docker/metadata-action@v4 with: - images: ghcr.io/texm/shokku + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=ref,event=branch type=semver,pattern={{raw}}