Skip to content

Commit f90b2ee

Browse files
committed
fix build-action
1 parent e6f8f15 commit f90b2ee

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build_and_publish_image.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
permissions:
1919
packages: write
2020
contents: read
21-
strategy:
22-
matrix:
23-
image:
24-
- wis2box-ui
2521

2622
steps:
2723
- name: Checkout branch
@@ -46,19 +42,19 @@ jobs:
4642
uses: docker/metadata-action@v4
4743
with:
4844
images: |
49-
ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
45+
ghcr.io/${{ github.repository_owner }}/{{ github.repository }}
5046
tags: |
5147
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
5248
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
5349
5450
- name: Build and push
55-
uses: docker/build-push-action@v2.7.0
51+
uses: docker/build-push-action@v6.9.0
5652
with:
5753
context: ./
5854
file: ./Dockerfile
5955
cache-from: type=gha
6056
cache-to: type=gha,mode=max
61-
platforms: linux/arm64, linux/amd64
57+
platforms: linux/arm64,linux/amd64
6258
push: true
6359
tags: ${{ steps.meta.outputs.tags }}
6460
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)