mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-05-13 09:46:14 +02:00
Add missing REPRO build arguments in the CI publish step
The publish CI step was mistankely omitted from https://gitlab.archlinux.org/archlinux/archlinux-docker/-/merge_requests/96
This commit is contained in:
parent
09a5aed161
commit
152c2410be
@ -221,9 +221,18 @@ image:publish:secure:
|
||||
- podman login -u "$GHCR_USERNAME" -p "$GHCR_PASSWORD" "ghcr.io"
|
||||
- 'echo -e "default-docker:\n use-sigstore-attachments: true" > /etc/containers/registries.d/sigstore.yaml'
|
||||
script:
|
||||
- podman build
|
||||
-f "$CI_PROJECT_DIR/Dockerfile.$GROUP"
|
||||
-t "archlinux:$GROUP-$BUILD_VERSION"
|
||||
- |
|
||||
if [[ "$GROUP" == "repro" ]]; then
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "today 00:00:00" +%s)
|
||||
REPRO_ARGS=(
|
||||
--source-date-epoch=${SOURCE_DATE_EPOCH}
|
||||
--rewrite-timestamp
|
||||
)
|
||||
fi
|
||||
podman build \
|
||||
"${REPRO_ARGS[@]}" \
|
||||
-f "$CI_PROJECT_DIR/Dockerfile.$GROUP" \
|
||||
-t "archlinux:$GROUP-$BUILD_VERSION" \
|
||||
"$CI_PROJECT_DIR"
|
||||
- |
|
||||
for host in "docker.io" "quay.io" "ghcr.io"; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user