Skip to content

Commit

Permalink
update deploy action to use ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 14, 2021
1 parent de2e460 commit 933f0cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to Docker Hub
uses: docker/build-push-action@v2
Expand All @@ -133,7 +133,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: docker.pkg.github.com/${{ github.repository }}:latest
tags: ghcr.io/${{ github.repository }}:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

Expand Down

0 comments on commit 933f0cc

Please sign in to comment.