Skip to content

Commit

Permalink
Tags must start with ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Jun 28, 2024
1 parent 613600f commit 0e3f694
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
${{ github.repository_owner }}/${{ env.DOCKER_NAME }}
ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_NAME }}
# generate Docker tags based on the following events/attributes
# Generate Docker tags based on the following events/attributes.
tags: |
type=schedule
type=ref,event=branch
Expand Down Expand Up @@ -135,6 +133,7 @@ jobs:
github.event.inputs.upload == 'true' ||
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
github.event_name == 'release' }}
registry: ghcr.io
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
context: .
Expand Down

0 comments on commit 0e3f694

Please sign in to comment.