修改10
Some checks failed
Build and Release / build-and-test (arm64, alpine) (push) Successful in 7s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 7s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 14s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 14s
Build and Release / release (push) Failing after 11s
Build and Release / docker-images (push) Successful in 31s
Some checks failed
Build and Release / build-and-test (arm64, alpine) (push) Successful in 7s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 7s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 14s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 14s
Build and Release / release (push) Failing after 11s
Build and Release / docker-images (push) Successful in 31s
This commit is contained in:
@@ -131,9 +131,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push Docker images
|
- name: Build and push Docker images
|
||||||
run: |
|
run: |
|
||||||
REGISTRY="${{ gitea.server_url }}/${{ gitea.repository }}"
|
# 移除 URL 中的 https:// 前缀
|
||||||
|
REGISTRY=$(echo "${{ gitea.server_url }}" | sed 's|https\?://||')/${{ gitea.repository }}
|
||||||
TAG="${{ steps.tag.outputs.tag }}"
|
TAG="${{ steps.tag.outputs.tag }}"
|
||||||
|
|
||||||
|
echo "📦 Docker Registry: ${REGISTRY}"
|
||||||
|
echo "📦 Docker Tag: ${TAG}"
|
||||||
|
|
||||||
BUILD_ARGS="--pull --push --platform linux/amd64,linux/arm64 \
|
BUILD_ARGS="--pull --push --platform linux/amd64,linux/arm64 \
|
||||||
--build-arg TARGZ_FILE_AMD64=${PRODUCT_NAME}-amd64-alpine-${PACKAGE_VERSION}.tar.gz \
|
--build-arg TARGZ_FILE_AMD64=${PRODUCT_NAME}-amd64-alpine-${PACKAGE_VERSION}.tar.gz \
|
||||||
--build-arg TARGZ_FILE_ARM64=${PRODUCT_NAME}-arm64-alpine-${PACKAGE_VERSION}.tar.gz \
|
--build-arg TARGZ_FILE_ARM64=${PRODUCT_NAME}-arm64-alpine-${PACKAGE_VERSION}.tar.gz \
|
||||||
|
|||||||
Reference in New Issue
Block a user