Skip to content

Commit 5fb4180

Browse files
committed
editing actions
1 parent 14ebd98 commit 5fb4180

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/deploy_docker.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Deploy docker (arm64v8)
1+
name: Build and Push dockers
22

33
on:
44
push:
55
branches:
66
#- 'main'
7-
- 'abc'
7+
- 'docker'
88

99
jobs:
1010
docker:
@@ -14,7 +14,8 @@ jobs:
1414
contents: read
1515

1616
steps:
17-
- uses: actions/checkout@main
17+
- name: Checkout code
18+
uses: actions/checkout@v3
1819

1920
- name: Set up QEMU
2021
uses: docker/setup-qemu-action@v3
@@ -28,10 +29,18 @@ jobs:
2829
username: ${{ secrets.DOCKERHUB_USERNAME }}
2930
password: ${{ secrets.DOCKERHUB_TOKEN }}
3031

31-
- name: Build and push
32+
- name: Build ubuntu image
3233
uses: docker/build-push-action@v5
3334
with:
3435
context: .
3536
file: ./Dockerfile
3637
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

0 commit comments

Comments
 (0)