File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Docker image
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ push_to_registry :
10+ name : Push Docker image to Docker Hub
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Check out the repo
14+ uses : actions/checkout@v5
15+
16+ - name : Log in to Docker Hub
17+ uses : docker/login-action@v3
18+ with :
19+ username : ${{ secrets.DOCKER_USERNAME }}
20+ password : ${{ secrets.DOCKER_PASSWORD }}
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v3
24+
25+ - name : Build and push
26+ id : push
27+ uses : docker/build-push-action@v6
28+ with :
29+ context : ./Runner
30+ push : true
31+ tags : mihazupan/runtime-utils:runner
Original file line number Diff line number Diff line change 11<Solution >
22 <Folder Name =" /Solution Items/" >
3+ <File Path =" ../.github/workflows/publish-docker.yml" />
34 <File Path =" ../.github/workflows/run-script.yml" />
45 <File Path =" ../azure-pipelines.yml" />
56 </Folder >
You can’t perform that action at this time.
0 commit comments