From 933f0cceac52f6ccb9760c88a886702e7917ad9b Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 14 Jun 2021 13:58:19 +0200 Subject: [PATCH] update deploy action to use ghcr.io --- .github/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8c4997a67..77090fd31 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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