Skip to content

Commit

Permalink
✨ feat(.github/workflows/gradle-build.yml): Update Docker registry …
Browse files Browse the repository at this point in the history
…configurations for GitHub and Docker environments.
  • Loading branch information
vnobo committed Dec 13, 2024
1 parent d1e53fa commit 3784f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.PAGK_TOKEN }}

- name: Log into registry docker.io
if: github.event_name != 'pull_request'
uses: docker/[email protected]
with:
registry: docker.io
registry: ${{env.DOCKER_REGISTRY}}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

Expand Down

0 comments on commit 3784f50

Please sign in to comment.