Skip to content

Commit

Permalink
build-push: Update user to github.repository_owner
Browse files Browse the repository at this point in the history
The current username is set to `github.actor`,
change this to `github.repository_owner` to ensure
that the image is pushed to the correct
repository.

Signed-off-by: Suraj Deshmukh <[email protected]>
  • Loading branch information
surajssd committed Aug 15, 2024
1 parent f1dae2c commit e962bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cloudshell-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.repository_owner}}
password: ${{ secrets.GHCR_BUILD_PUSH_TOKEN }}

- name: Generate Tag
Expand Down

0 comments on commit e962bfd

Please sign in to comment.