Commit 5fb4180 1 parent 14ebd98 commit 5fb4180 Copy full SHA for 5fb4180
File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy docker (arm64v8)
1
+ name : Build and Push dockers
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
# - 'main'
7
- - ' abc '
7
+ - ' docker '
8
8
9
9
jobs :
10
10
docker :
14
14
contents : read
15
15
16
16
steps :
17
- - uses : actions/checkout@main
17
+ - name : Checkout code
18
+ uses : actions/checkout@v3
18
19
19
20
- name : Set up QEMU
20
21
uses : docker/setup-qemu-action@v3
@@ -28,10 +29,18 @@ jobs:
28
29
username : ${{ secrets.DOCKERHUB_USERNAME }}
29
30
password : ${{ secrets.DOCKERHUB_TOKEN }}
30
31
31
- - name : Build and push
32
+ - name : Build ubuntu image
32
33
uses : docker/build-push-action@v5
33
34
with :
34
35
context : .
35
36
file : ./Dockerfile
36
37
push : true
37
- tags : ${{ secrets.DOCKERHUB_USERNAME }}/owl-arm64v8:latest
38
+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/owl:ubuntu
39
+
40
+ - name : Build archlinux image
41
+ uses : docker/build-push-action@v5
42
+ with :
43
+ context : .
44
+ file : ./docker/Dockerfile.archlinux
45
+ push : true
46
+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/owl:archlinux
You can’t perform that action at this time.
0 commit comments