File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Docker Multi-arch Build and Push
1
+ name : Docker Build and Push
2
2
3
3
on :
4
4
push :
5
- tags : [ "v*.*.*" ]
5
+ tags : [ "v*.*.*" ]
6
6
7
7
env :
8
8
REGISTRY : docker.io
@@ -19,31 +19,25 @@ jobs:
19
19
- name : Checkout code
20
20
uses : actions/checkout@v4
21
21
22
- - name : Set up Docker Buildx
23
- uses : docker/setup-buildx-action@v3
24
- with :
25
- platforms : linux/amd64,linux/arm64
26
-
27
22
- name : Docker meta
28
23
id : meta
29
24
uses : docker/metadata-action@v5
30
25
with :
31
26
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
32
27
tags : |
33
28
type=semver,pattern={{version}}
34
- type=raw,value=latest
29
+ type=raw,value=latest
35
30
36
31
- name : Login to Docker Hub
37
32
uses : docker/login-action@v3
38
33
with :
39
34
username : ${{ secrets.DOCKERHUB_USERNAME }}
40
35
password : ${{ secrets.DOCKERHUB_TOKEN }}
41
36
42
- - name : Build and push multi-arch images
37
+ - name : Build and push
43
38
uses : docker/build-push-action@v5
44
39
with :
45
40
context : .
46
- platforms : linux/amd64,linux/arm64
47
41
push : true
48
42
tags : ${{ steps.meta.outputs.tags }}
49
43
labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments