1
- name : Docker Hub
1
+ name : Docker Hub Release
2
2
3
3
on :
4
4
release :
@@ -10,16 +10,16 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v3
13
+ uses : actions/checkout@v4
14
14
15
15
- name : Set up QEMU
16
- uses : docker/setup-qemu-action@v2
16
+ uses : docker/setup-qemu-action@v3
17
17
18
18
- name : Set up Docker Buildx
19
- uses : docker/setup-buildx-action@v2
19
+ uses : docker/setup-buildx-action@v3
20
20
21
21
- name : Login to Docker Hub
22
- uses : docker/login-action@v2
22
+ uses : docker/login-action@v3
23
23
with :
24
24
username : ${{ secrets.DOCKER_USER_NAME }}
25
25
password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
45
45
uses : docker/build-push-action@v4
46
46
with :
47
47
context : ./docker
48
- file : " ./docker/Dockerfile-Ubuntu20 "
48
+ file : " ./docker/Dockerfile-Ubuntu22 "
49
49
build-args : |
50
50
"RELEASE_VERSION=${{ env.SUBALIGNER_TAG }}"
51
51
platforms : linux/amd64,linux/arm64
54
54
tags : |
55
55
baxtree/subaligner:latest
56
56
baxtree/subaligner:${{ env.SUBALIGNER_TAG }}
57
- baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.u20
57
+ baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.u22
58
58
push : true
59
-
60
- - name : Remove the local latest image
61
- run : |
62
- docker rmi -f baxtree/subaligner:latest
63
- docker rmi -f baxtree/subaligner:${{ env.SUBALIGNER_TAG }}
64
- docker rmi -f baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.u20
65
-
66
- - name : Build and push the Ubuntu 22 image
67
- id : docker_build_u22
68
- uses : docker/build-push-action@v4
69
- with :
70
- context : ./docker
71
- file : " ./docker/Dockerfile-Ubuntu22"
72
- build-args : |
73
- "RELEASE_VERSION=${{ env.SUBALIGNER_TAG }}"
74
- platforms : linux/amd64,linux/arm64
75
- allow : network.host
76
- github-token : ${{ github.token }}
77
- tags : baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.u22
78
- push : true
79
-
80
- - name : Remove the local Ubuntu 22 image
81
- run : |
82
- docker rmi -f baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.u22
83
-
84
- - name : Build and push the Fedora 34 image
85
- id : docker_build_fed34
86
- uses : docker/build-push-action@v2
87
- with :
88
- context : ./docker
89
- file : " ./docker/Dockerfile-Fedora34"
90
- build-args : |
91
- "RELEASE_VERSION=${{ env.SUBALIGNER_TAG }}"
92
- platforms : linux/amd64,linux/arm64
93
- allow : network.host
94
- github-token : ${{ github.token }}
95
- tags : baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.fed34
96
- push : true
97
-
98
- - name : Remove the local Fedora 34 image
99
- run : |
100
- docker rmi -f baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.fed34
101
-
102
- - name : Build and push the ArchLinux image
103
- id : docker_build_arch
104
- uses : docker/build-push-action@v2
105
- with :
106
- context : ./docker
107
- file : " ./docker/Dockerfile-ArchLinux"
108
- build-args : |
109
- "RELEASE_VERSION=${{ env.SUBALIGNER_TAG }}"
110
- platforms : linux/amd64
111
- allow : network.host
112
- github-token : ${{ github.token }}
113
- tags : baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.arch
114
- push : true
115
-
116
- - name : Remove the local ArchLinux image
117
- run : |
118
- docker rmi -f baxtree/subaligner:${{ env.SUBALIGNER_TAG }}.arch
0 commit comments