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