.gitea/workflows/build-and-push.yaml aktualisiert
build-and-push.yaml / release-and-build (push) Canceled after 26s
build-and-push.yaml / release-and-build (push) Canceled after 26s
This commit is contained in:
1 parent
a53403fbea
commit
59d5de46f9
1 file changed
+10
@@ -2,6 +2,12 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'dev'
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- 'VERSION.history'
|
||||
- 'docker-compose.yml'
|
||||
- '*.md'
|
||||
- '.gitignore'
|
||||
tags:
|
||||
- '*'
|
||||
schedule:
|
||||
@@ -154,6 +160,8 @@ jobs:
|
||||
|
||||
# 1. Build AMD64 & Push
|
||||
docker buildx build "${DOCKER_ARGS[@]}" "${AMD_TAGS[@]}" \
|
||||
--cache-from "type=registry,ref=$IMAGE_GITEA:buildcache-amd64" \
|
||||
--cache-to "type=registry,ref=$IMAGE_GITEA:buildcache-amd64,mode=max" \
|
||||
--pull --platform linux/amd64 -f Dockerfile \
|
||||
--label "pi_farm.base_digest=$BASE_SHA" --label "pi_farm.args_hash=$ARGS_HASH" --push .
|
||||
|
||||
@@ -170,6 +178,8 @@ jobs:
|
||||
fi
|
||||
|
||||
docker buildx build "${DOCKER_ARGS[@]}" "${ARM_TAGS[@]}" \
|
||||
--cache-from "type=registry,ref=$IMAGE_GITEA:buildcache-arm64" \
|
||||
--cache-to "type=registry,ref=$IMAGE_GITEA:buildcache-arm64,mode=max" \
|
||||
--pull --platform linux/arm64 -f Dockerfile.aarch64 \
|
||||
--label "pi_farm.base_digest=$BASE_SHA" --label "pi_farm.args_hash=$ARGS_HASH" --push .
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user