File tree Expand file tree Collapse file tree 2 files changed +3
-22
lines changed
actions/docker-publish-action Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Original file line number Diff line number Diff line change 11name : " Publish to Docker registry"
22description : " Publish an image/tags to a Docker registry"
33inputs :
4- registry :
5- description : " Docker registry hostname"
6- required : false
7- default : " ghcr.io"
84 username :
95 description : " Docker registry account username"
106 required : true
2824 steps :
2925 - name : Set up Docker Buildx
3026 uses : docker/setup-buildx-action@v3
31- - name : Login to GitHub Container Registry
27+ - name : Login to Docker Hub
3228 uses : docker/login-action@v3
3329 with :
34- registry : ${{ inputs.registry }}
3530 username : ${{ inputs.username }}
3631 password : ${{ inputs.password }}
3732 - name : Extract metadata (tags, labels) for Docker
Original file line number Diff line number Diff line change 2828 with :
2929 branch : ${{ github.ref_name }}
3030 commit_sha : ${{ github.sha }}
31- username : ${{ github.actor }}
32- password : ${{ secrets.GITHUB_TOKEN }}
31+ username : ${{ secrets.DOCKERHUB_USERNAME }}
32+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
3333 image_name : ${{ github.repository_owner }}/fp-studio
3434 cuda_version : ${{ matrix.cuda-version }}
35- cleanup :
36- runs-on : ubuntu-latest
37- needs : publish
38- permissions :
39- contents : read
40- packages : write
41- steps :
42- 43- with :
44- token : ${{ secrets.GITHUB_TOKEN }}
45- user : ${{ github.repository_owner }}
46- container : fp-studio
47- dry-run : false
48- prune-untagged : true
You can’t perform that action at this time.
0 commit comments