ci: buildah package on bookworm is too old

This commit is contained in:
naskya 2024-05-18 16:52:17 +09:00
parent 88890153a1
commit 7dd3b8ec5a
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 4 additions and 2 deletions

View File

@ -183,8 +183,10 @@ build:container:
optional: true
before_script:
- apt-get update && apt-get -y upgrade
- apt-get install -y --no-install-recommends buildah ca-certificates fuse-overlayfs
- buildah prune --all
- apt-get install -y --no-install-recommends ca-certificates fuse-overlayfs
- echo 'deb https://deb.debian.org/debian trixie main' | tee /etc/apt/sources.list
- apt-get update && apt-get install -y --no-install-recommends --target-release trixie buildah
- buildah prune --all | true
- echo "${CI_REGISTRY_PASSWORD}" | buildah login --username "${CI_REGISTRY_USER}" --password-stdin "${CI_REGISTRY}"
- export IMAGE_TAG="${CI_REGISTRY}/${CI_PROJECT_PATH}/develop:not-for-production"
- export IMAGE_CACHE="${CI_REGISTRY}/${CI_PROJECT_PATH}/develop/cache"