File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 2929 required : false
3030 type : string
3131 default : " linux/amd64"
32+ registry :
33+ description : " Registro Docker (ex: docker.io/quay.io/ghcr.io)"
34+ required : false
35+ type : string
36+ default : " docker.io"
3237 secrets :
33- DOCKERHUB_USERNAME :
34- description : " Username do Docker Hub"
38+ USERNAME :
39+ description : " Username do Docker Hub ou outro registro Docker "
3540 required : true
36- DOCKERHUB_TOKEN :
37- description : " Token de acesso do Docker Hub"
41+ TOKEN :
42+ description : " Token de acesso do Docker Hub ou outro registro Docker "
3843 required : true
3944
4045permissions :
@@ -44,7 +49,7 @@ permissions:
4449 attestations : write
4550
4651env :
47- REGISTRY : docker.io
52+ REGISTRY : ${{ inputs.registry }}
4853
4954jobs :
5055 docker :
7782 if : github.event_name != 'pull_request'
7883 uses : docker/login-action@v3
7984 with :
80- username : ${{ secrets.DOCKERHUB_USERNAME }}
81- password : ${{ secrets.DOCKERHUB_TOKEN }}
85+ username : ${{ secrets.USERNAME }}
86+ password : ${{ secrets.TOKEN }}
8287
8388 - name : Build and push
8489 id : push
You can’t perform that action at this time.
0 commit comments