mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-05-13 17:56:15 +02:00
Ensure BusyBox compatibility for CI
This commit is contained in:
parent
b36148c7bb
commit
7161278aa0
@ -108,7 +108,7 @@ rootfs:secure:
|
||||
script:
|
||||
- |
|
||||
if [[ "$GROUP" == "repro" ]]; then
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "today 00:00:00" +%s)
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "00:00:00" +%s)
|
||||
REPRO_ARGS=(
|
||||
--source-date-epoch=${SOURCE_DATE_EPOCH}
|
||||
--rewrite-timestamp
|
||||
@ -162,7 +162,7 @@ image:build:secure:
|
||||
- diffoscope output/repro.tar.zst repro-output/repro.tar.zst
|
||||
- echo "RootFS is reproducible!"
|
||||
- |
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "today 00:00:00" +%s)
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "00:00:00" +%s)
|
||||
podman build \
|
||||
--no-cache \
|
||||
--source-date-epoch=${SOURCE_DATE_EPOCH} \
|
||||
@ -223,7 +223,7 @@ image:publish:secure:
|
||||
script:
|
||||
- |
|
||||
if [[ "$GROUP" == "repro" ]]; then
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "today 00:00:00" +%s)
|
||||
SOURCE_DATE_EPOCH=$(date -u -d "00:00:00" +%s)
|
||||
REPRO_ARGS=(
|
||||
--source-date-epoch=${SOURCE_DATE_EPOCH}
|
||||
--rewrite-timestamp
|
||||
@ -310,7 +310,7 @@ pre-release:
|
||||
- apk add jq curl bash
|
||||
script:
|
||||
- |
|
||||
source_date_epoch=$(date -u -d "today 00:00:00" +%s)
|
||||
source_date_epoch=$(date -u -d "00:00:00" +%s)
|
||||
echo "Update the description of our daily DockerHub repository at https://hub.docker.com/r/archlinux/archlinux"
|
||||
TOKEN="$(curl -X POST https://hub.docker.com/v2/users/login -H "Content-Type: application/json" -d "{\"username\": \"${DOCKERHUB_USERNAME}\", \"password\": \"${DOCKERHUB_PASSWORD}\"}" | jq -er .token)"
|
||||
curl -X PATCH https://hub.docker.com/v2/repositories/archlinux/archlinux/ \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user