Skip to content

Commit 4469ed7

Browse files
authored
Merge branch 'main' into update-badge
2 parents bec60df + e4715f2 commit 4469ed7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020

2121
- name: Log in to Docker Hub
22-
if: github.repository == 'finos/git-proxy'
22+
if: github.repository_owner == 'finos'
2323
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
2424
with:
2525
username: finos
@@ -29,13 +29,13 @@ jobs:
2929
id: tags
3030
run: |
3131
if [ "${{ github.event_name }}" = "release" ]; then
32-
echo "tags=finos/git-proxy:${{ github.ref_name }},finos/git-proxy:latest" >> $GITHUB_OUTPUT
32+
echo "tags=${{ github.repository }}:${{ github.ref_name }},${{ github.repository }}:latest" >> $GITHUB_OUTPUT
3333
else
34-
echo "tags=finos/git-proxy:main" >> $GITHUB_OUTPUT
34+
echo "tags=${{ github.repository }}:main" >> $GITHUB_OUTPUT
3535
fi
3636
3737
- name: Build and Publish Docker Image
38-
if: github.repository == 'finos/git-proxy'
38+
if: github.repository_owner == 'finos'
3939
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
4040
with:
4141
context: .

0 commit comments

Comments
 (0)