File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 1010
1111env :
1212 REGISTRY_GHCR : ghcr.io
13- REGISTRY_DOCKERHUB : docker.io
14- IMAGE_NAME : ${{ secrets.DOCKER_HUB_USERNAME || 'swe-forge' }}/swe-forge
1513
1614jobs :
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
You can’t perform that action at this time.
0 commit comments