Commit 1012a5b0 by xiongziliang

支持arm64 docker

parent b3fd74cc
...@@ -33,6 +33,9 @@ jobs: ...@@ -33,6 +33,9 @@ jobs:
with: with:
cosign-release: 'v1.7.1' cosign-release: 'v1.7.1'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
# Workaround: https://github.com/docker/build-push-action/issues/461 # Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx - name: Setup Docker buildx
...@@ -67,6 +70,7 @@ jobs: ...@@ -67,6 +70,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: MODEL=Release build-args: MODEL=Release
platforms: linux/amd64,linux/arm64
# Sign the resulting Docker image digest except on PRs. # Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker # This will only write to the public Rekor transparency log when the Docker
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论