feat: 尝试推送镜像到ghcr

This commit is contained in:
shaohuzhang1 2024-03-14 17:32:57 +08:00
parent 45f1145fc6
commit c095f6e6e2

View File

@ -63,7 +63,7 @@ jobs:
- name: Prepare
id: prepare
run: |
DOCKER_IMAGE=${{ github.event.inputs.registryAddress }}/${{ github.event.inputs.dockerImageName }}
DOCKER_IMAGE=ghcr.io/${{ github.event.inputs.dockerImageName }}
DOCKER_PLATFORMS=linux/amd64
TAG_NAME=${{ github.event.inputs.dockerImageTag }}
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest"