Skip to content

Commit

Permalink
Log in to docker hub as well
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th committed Jan 26, 2023
1 parent 3c61967 commit f7b9f23
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Log in to the container registry
- name: Log in to GitHub container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Extract metadata for docker image
id: meta
uses: docker/metadata-action@v4
Expand Down

0 comments on commit f7b9f23

Please sign in to comment.