File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : .
You can’t perform that action at this time.
0 commit comments