mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 尝试添加arm镜像打包
This commit is contained in:
parent
f286158f54
commit
be29919185
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
id: prepare
|
||||
run: |
|
||||
DOCKER_IMAGE=${{ github.event.inputs.registryAddress }}/${{ github.event.inputs.dockerImageName }}
|
||||
DOCKER_PLATFORMS=linux/amd64
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm64
|
||||
TAG_NAME=${{ github.event.inputs.dockerImageTag }}
|
||||
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest"
|
||||
echo ::set-output name=docker_image::${DOCKER_IMAGE}
|
||||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
id: prepare
|
||||
run: |
|
||||
DOCKER_IMAGE=ghcr.io/${{ github.event.inputs.dockerImageName }}
|
||||
DOCKER_PLATFORMS=linux/amd64
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm64
|
||||
TAG_NAME=${{ github.event.inputs.dockerImageTag }}
|
||||
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest"
|
||||
echo ::set-output name=docker_image::${DOCKER_IMAGE}
|
||||
|
|
|
|||
Loading…
Reference in New Issue