Skip to content

Commit 0538863

Browse files
committed
fix: ci push
Hanchin Hsieh <[email protected]>
1 parent ede5153 commit 0538863

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/image.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
uses: docker/setup-qemu-action@v3
3131
- name: Set up Docker Buildx
3232
uses: docker/setup-buildx-action@v3
33-
- name: Build And Push
34-
run: |
35-
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{ github.repository }}:${{ github.event.inputs.tag }} --push .
33+
name: Build and push
34+
uses: docker/build-push-action@v6
35+
with:
36+
platforms: linux/amd64,linux/arm64
37+
push: true
38+
tags: ghcr.io/${{ github.repository }}:${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)