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 : Docker Image CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+ schedule :
9
+ - cron : " 0 23 1 * *"
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Set up QEMU
16
+ uses : docker/setup-qemu-action@master
17
+ with :
18
+ platforms : all
19
+ - name : Set up Docker Buildx
20
+ id : buildx
21
+ uses : docker/setup-buildx-action@master
22
+ -
23
+ name : Login to DockerHub
24
+ uses : docker/login-action@v1
25
+ with :
26
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
27
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
28
+ -
29
+ name : Build and push
30
+ uses : docker/build-push-action@v2
31
+ with :
32
+ builder : ${{ steps.buildx.outputs.name }}
33
+ context : .
34
+ file : ./Dockerfile
35
+ platforms : linux/amd64,linux/arm/v7,linux/arm64
36
+ push : true
37
+ tags : andrewmhub/transmission-tracker-add:latest
You can’t perform that action at this time.
0 commit comments