Skip to content

Commit bf5631a

Browse files
committed
get repo name dynamically
1 parent 421b647 commit bf5631a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: meta
4747
uses: docker/metadata-action@v5
4848
with:
49-
images: ghcr.io/${{ github.repository_owner }}/brag
49+
images: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}
5050
tags: |
5151
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
5252
type=semver,pattern={{version}}
@@ -59,4 +59,3 @@ jobs:
5959
push: true
6060
platforms: linux/amd64,linux/arm64
6161
tags: ${{ env.DOCKER_METADATA_OUTPUT_TAGS }}
62-

0 commit comments

Comments
 (0)