Drop image tag for VM runners, install podman

The executer gives us a fresh Arch VM with a shell.
This commit is contained in:
Justin Kromlinger 2023-06-15 16:41:44 +02:00
parent 62d2b0fa76
commit 87d3f29452
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8
2 changed files with 6 additions and 2 deletions

View File

@ -91,9 +91,10 @@ rootfs:secure:
.image:
stage: image
image: docker:stable
tags:
- vm
before_script:
- pacman -Syu --noconfirm podman
script:
- podman build
-f "$CI_PROJECT_DIR/output/Dockerfile.$GROUP"
@ -112,6 +113,7 @@ image:build:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
image:build:secure:
@ -128,6 +130,7 @@ image:build:secure:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$GITLAB_PROJECT_USER" -p "$GITLAB_PROJECT_TOKEN" "$CI_REGISTRY"
# Build and publish to the Arch Linux group namespaces:
@ -145,6 +148,7 @@ image:publish:secure:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm podman
- podman login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_ACCESS_TOKEN" "docker.io"
- podman login -u "$QUAY_USERNAME" -p "$QUAY_PASSWORD" "quay.io"
script:

View File

@ -8,7 +8,7 @@
# Some templating is done in order to allow us to easily build different configurations and to
# allow us to automate the release process.
FROM archlinux/archlinux:latest AS verify
FROM quay.io/archlinux/archlinux:latest AS verify
COPY TEMPLATE_ROOTFS_FILE /
RUN pacman -Syu --noconfirm