mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-05 21:57:13 +02:00
Drop image tag for VM runners, install podman
The executer gives us a fresh Arch VM with a shell.
This commit is contained in:
parent
62d2b0fa76
commit
87d3f29452
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user