Skip to content

Commit a6de121

Browse files
authored
fix(docker-workflows): update workflows to only push to GHCR (#793)
1 parent 377a1ce commit a6de121

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

.github/workflows/docker-latest.yml

-7
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ jobs:
2121
with:
2222
platforms: linux/arm64,linux/amd64,linux/arm/v7
2323

24-
- name: Login to Docker Hub
25-
uses: docker/login-action@v3
26-
with:
27-
username: ${{ secrets.DOCKERHUB_USERNAME }}
28-
password: ${{ secrets.DOCKERHUB_TOKEN }}
29-
3024
- name: Login to GHCR
3125
uses: docker/login-action@v3
3226
with:
@@ -41,5 +35,4 @@ jobs:
4135
platforms: ${{ steps.buildx.outputs.platforms }}
4236
push: true
4337
tags: |
44-
${{ github.repository }}:latest
4538
ghcr.io/${{ github.repository }}:latest

.github/workflows/release.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ jobs:
6363
with:
6464
platforms: linux/arm64,linux/amd64,linux/arm/v7
6565

66-
- name: Login to DockerHub
67-
uses: docker/login-action@v3
68-
with:
69-
username: ${{ secrets.DOCKERHUB_USERNAME }}
70-
password: ${{ secrets.DOCKERHUB_TOKEN }}
71-
7266
- name: Login to GHCR
7367
uses: docker/login-action@v3
7468
with:
@@ -83,9 +77,6 @@ jobs:
8377
platforms: ${{ steps.buildx.outputs.platforms }}
8478
push: true
8579
tags: |
86-
${{ github.repository }}:${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}}.${{needs.release_please.outputs.patch}}
87-
${{ github.repository }}:${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}}
88-
${{ github.repository }}:${{needs.release_please.outputs.major}}
8980
ghcr.io/${{ github.repository }}:${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}}.${{needs.release_please.outputs.patch}}
9081
ghcr.io/${{ github.repository }}:${{needs.release_please.outputs.major}}.${{needs.release_please.outputs.minor}}
9182
ghcr.io/${{ github.repository }}:${{needs.release_please.outputs.major}}

0 commit comments

Comments
 (0)