File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Docker image
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ main :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ # in the future we'll add an arm image for the raspberry
12
+ -
13
+ name : Set up QEMU
14
+ uses : docker/setup-qemu-action@v1
15
+ -
16
+ name : Set up Docker Buildx
17
+ uses : docker/setup-buildx-action@v1
18
+ -
19
+ name : Login to DockerHub
20
+ uses : docker/login-action@v1
21
+ with :
22
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23
+ password : ${{ secrets.DOCKER_PASSWORD }}
24
+ -
25
+ name : Build and push
26
+ id : docker_build
27
+ uses : docker/build-push-action@v2
28
+ with :
29
+ push : true
30
+ tags : livingwithhippos/unchainedbotkotlin:latest
31
+ build-args : |
32
+ arg1=value1
33
+ arg2=value2
34
+ -
35
+ name : Image digest
36
+ run : echo ${{ steps.docker_build.outputs.digest }}
You can’t perform that action at this time.
0 commit comments