fix(ci): build dependent images on the local base
Build containers / build (push) Successful in 2m27s
Build containers / build (push) Successful in 2m27s
With --platform set, buildah pulled the old base from the registry and retagged it, so both pushed images were stale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 file changed
+2
-2
@@ -26,8 +26,8 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
for image in $IMAGES; do
|
||||
pull=missing; [[ $image == base ]] && pull=newer
|
||||
buildah build --pull="$pull" --platform linux/amd64 \
|
||||
pull=never; [[ $image == base ]] && pull=newer
|
||||
buildah build --pull="$pull" \
|
||||
--build-arg TAG="$TAG" \
|
||||
-t "$REGISTRY/job79/$image:$TAG" "containers/$image"
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user