Skip to content

Commit 6358dd2

Browse files
authored
Remove ghcr.io from Docker publish workflow (#1555)
1 parent 0cbef83 commit 6358dd2

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,13 @@ jobs:
7474
username: ${{ secrets.DOCKER_USERNAME }}
7575
password: ${{ secrets.DOCKER_PASSWORD }}
7676

77-
- name: Login to GitHub Container Registry
78-
uses: docker/login-action@v1
79-
with:
80-
registry: ghcr.io
81-
username: ${{ github.repository_owner }}
82-
password: ${{ secrets.GITHUB_TOKEN }}
83-
8477
- name: Push to Docker Image Repositories
8578
uses: docker/build-push-action@v2
8679
id: docker_build
8780
with:
8881
push: true
8982
# platforms: linux/amd64,linux/arm64
90-
tags: |
91-
${{ steps.docker_meta.outputs.tags }}
92-
ghcr.io/${{ steps.docker_meta.outputs.tags }}
83+
tags: ${{ steps.docker_meta.outputs.tags }}
9384
cache-from: type=local,src=/tmp/.buildx-cache
9485
cache-to: type=local,dest=/tmp/.buildx-cache-new
9586

0 commit comments

Comments
 (0)