diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6ee920c..d3d40b6 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: @@ -34,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' }}