Skip to content

Commit 7a88d8b

Browse files
committed
fix(ci): remove Docker Hub from docker workflow
1 parent ddf8dcc commit 7a88d8b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ on:
1010

1111
env:
1212
REGISTRY_GHCR: ghcr.io
13-
REGISTRY_DOCKERHUB: docker.io
14-
IMAGE_NAME: ${{ secrets.DOCKER_HUB_USERNAME || 'swe-forge' }}/swe-forge
1513

1614
jobs:
1715
build:
@@ -34,21 +32,12 @@ jobs:
3432
username: ${{ github.actor }}
3533
password: ${{ secrets.GITHUB_TOKEN }}
3634

37-
- name: Log in to Docker Hub
38-
if: ${{ secrets.DOCKER_HUB_USERNAME != '' && secrets.DOCKER_HUB_TOKEN != '' }}
39-
uses: docker/login-action@v3
40-
with:
41-
registry: ${{ env.REGISTRY_DOCKERHUB }}
42-
username: ${{ secrets.DOCKER_HUB_USERNAME }}
43-
password: ${{ secrets.DOCKER_HUB_TOKEN }}
44-
4535
- name: Extract metadata for Docker
4636
id: meta
4737
uses: docker/metadata-action@v5
4838
with:
4939
images: |
5040
${{ env.REGISTRY_GHCR }}/${{ github.repository }}
51-
${{ env.REGISTRY_DOCKERHUB }}/${{ env.IMAGE_NAME }}
5241
tags: |
5342
type=ref,event=branch
5443
type=ref,event=pr

0 commit comments

Comments
 (0)