Skip to content

Commit

Permalink
Update workflow docker login to ghcr.io
Browse files Browse the repository at this point in the history
Signed-off-by: raihankhan <[email protected]>
  • Loading branch information
raihankhan committed Dec 1, 2023
1 parent e500948 commit d16e0ed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Login to DockerHub
uses: docker/login-action@v1
- name: Log in to the GitHub Container registry
uses: docker/login-action@v2
with:
username: 1gtm
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build elasticsearch-init
run: |
Expand Down

0 comments on commit d16e0ed

Please sign in to comment.