Remove IMAGE_NAME because of indirection

IMAGE_NAME points to github.repository so use this instead
pull/7734/head
Christoph Kepler 4 years ago
parent 3eb43927b4
commit 37c1dca3c1
No known key found for this signature in database
GPG Key ID: FED133CE3670330D

@ -13,7 +13,6 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
# Test building the docker image on pull requests
@ -57,7 +56,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
type=ref,event=tag
@ -66,7 +65,7 @@ jobs:
if: false == startsWith(github.ref, 'refs/tags/v')
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
type=sha,prefix=,priority=200
type=raw,value=bleeding,priority=100

Loading…
Cancel
Save