File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Docker Images
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
8
+ schedule :
9
+ - cron : " 0 0 * * *"
10
+
11
+ jobs :
12
+ Dockerhub :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+
18
+ steps :
19
+ - name : checkout sources
20
+ uses : actions/checkout@v3
21
+
22
+ - name : Set up QEMU
23
+ uses : docker/setup-qemu-action@v2
24
+
25
+ - name : Set up Docker Buildx
26
+ uses : docker/setup-buildx-action@v2
27
+
28
+ - name : Login to GitHub Container Registry
29
+ uses : docker/login-action@v2
30
+ with :
31
+ registry : ghcr.io
32
+ username : ${{ github.repository_owner }}
33
+ password : ${{ secrets.GITHUB_TOKEN }}
34
+
35
+ - name : Build and push
36
+ uses : docker/build-push-action@v4
37
+ with :
38
+ push : true
39
+ platforms : linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
40
+ tags : |
41
+ ghcr.io/firefart/stunner:latest
You can’t perform that action at this time.
0 commit comments