Commit 133fe0a 1 parent 55e9802 commit 133fe0a Copy full SHA for 133fe0a
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Image creator for sassbot latest
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+
7
+ jobs :
8
+ build-and-push-x86 :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - name : build and push image
13
+ run : |
14
+ docker login --username bombg --password ${{ secrets.GH_PAT }} ghcr.io
15
+ docker build . --tag ghcr.io/bombg/sassbot:latest
16
+ docker push ghcr.io/bombg/sassbot:latest
17
+ build-and-push-arm :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Check out code
21
+ uses : actions/checkout@v3
22
+ - name : Set up Docker Buildx
23
+ uses : docker/setup-buildx-action@v1
24
+ - name : Log in to GitHub Container Registry
25
+ uses : docker/login-action@v1
26
+ with :
27
+ registry : ghcr.io
28
+ username : bombg
29
+ password : ${{ secrets.GH_PAT }}
30
+ - name : Build and push
31
+ uses : docker/build-push-action@v2
32
+ with :
33
+ context : .
34
+ push : true
35
+ tags : ghcr.io/sassbot-arm:latest
36
+ platforms : linux/arm/v7
You can’t perform that action at this time.
0 commit comments