Skip to content

Commit 192b9b3

Browse files
authored
Merge pull request #160 from heshengtao/dev
Dev
2 parents c4ccc23 + 6aa2939 commit 192b9b3

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Docker Multi-arch Build and Push
1+
name: Docker Build and Push
22

33
on:
44
push:
5-
tags: [ "v*.*.*" ]
5+
tags: [ "v*.*.*" ]
66

77
env:
88
REGISTRY: docker.io
@@ -19,31 +19,25 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121

22-
- name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v3
24-
with:
25-
platforms: linux/amd64,linux/arm64
26-
2722
- name: Docker meta
2823
id: meta
2924
uses: docker/metadata-action@v5
3025
with:
3126
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3227
tags: |
3328
type=semver,pattern={{version}}
34-
type=raw,value=latest
29+
type=raw,value=latest
3530
3631
- name: Login to Docker Hub
3732
uses: docker/login-action@v3
3833
with:
3934
username: ${{ secrets.DOCKERHUB_USERNAME }}
4035
password: ${{ secrets.DOCKERHUB_TOKEN }}
4136

42-
- name: Build and push multi-arch images
37+
- name: Build and push
4338
uses: docker/build-push-action@v5
4439
with:
4540
context: .
46-
platforms: linux/amd64,linux/arm64
4741
push: true
4842
tags: ${{ steps.meta.outputs.tags }}
4943
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)