File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Manual Docker build and push
2+ on :
3+ workflow_dispatch :
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v2
12+
13+ - name : Set up Docker Buildx
14+ uses : docker/setup-buildx-action@v1
15+
16+ - name : Login to Docker Hub
17+ run : echo ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
18+
19+ - name : Build and push register app session II
20+ uses : docker/build-push-action@v3
21+ with :
22+ context : hands-on/session II/
23+ push : true
24+ file : ./hands-on/session II/Materials/Dockerfile
25+ tags : ${{ secrets.DOCKERHUB_ORG }}/nsdf_tutorial:sessionII
26+
27+ - name : Build and push register app session III
28+ uses : docker/build-push-action@v3
29+ with :
30+ context : hands-on/session III
31+ push : true
32+ file : ./hands-on/session III/Dockerfile
33+ tags : ${{ secrets.DOCKERHUB_ORG }}/nsdf_tutorial:sessionIII
34+
35+ env :
36+ DOCKER_CLI_EXPERIMENTAL : enabled
37+ DOCKER_BUILDKIT : 1
You can’t perform that action at this time.
0 commit comments