File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
actions/publish_docker_image Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11name : Publish Docker images
22description : Publish Docker images to Docker Hub
3+ inputs :
4+ DOCKER_USERNAME :
5+ description : Docker Hub username
6+ required : true
7+ DOCKER_TOKEN :
8+ description : Docker Hub token
9+ required : true
310runs :
411 using : composite
512 steps :
1926 - name : Login to Docker Hub
2027 uses : docker/login-action@v3
2128 with :
22- username : ${{ secrets .DOCKER_USERNAME }}
23- password : ${{ secrets.DOCKER_PASSWORD }}
29+ username : ${{ inputs .DOCKER_USERNAME }}
30+ password : ${{ inputs.DOCKER_TOKEN }}
2431
2532 - name : Push to Docker Hub
2633 uses : docker/build-push-action@v6
Original file line number Diff line number Diff line change 4949 ((github.event_name == 'release' && github.event.action == 'published') || github.ref == 'refs/heads/main')
5050 && github.repository == 'axiom-data-science/docker-erddap'
5151 uses : ./.github/actions/publish_docker_image
52+ with :
53+ DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
54+ DOCKER_TOKEN : ${{ secrets.DOCKER_PASSWORD }}
You can’t perform that action at this time.
0 commit comments