File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build-publish-jdk11-dind-image
2
+ on :
3
+ workflow_dispatch :
4
+
5
+
6
+ run-name : build-publish-sample-python-image
7
+ jobs :
8
+ build-publish-jdk11-dind-image :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Log in to Docker Hub
16
+ uses : docker/#-action@v3
17
+ with :
18
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
19
+ password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
20
+
21
+ - name : Set up QEMU
22
+ uses : docker/setup-qemu-action@v3
23
+
24
+ - name : Set up Docker Buildx
25
+ uses : docker/setup-buildx-action@v3
26
+
27
+ - name : Build and docker image with tag
28
+ uses : docker/build-push-action@v6
29
+ with :
30
+ file : Dockerfile
31
+ push : true
32
+ tags : |
33
+ ${{ secrets.DOCKERHUB_USERNAME }}/sample-python-image:latest
You can’t perform that action at this time.
0 commit comments