fix tag miss in docker build
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
1d882697d9
commit
295d54d838
|
|
@ -37,6 +37,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
|
@ -62,6 +64,7 @@ jobs:
|
|||
- name: Build / Push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
file: ${{ matrix.dockerfile }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue