mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-07 06:37:23 +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:
|
.image:
|
||||||
stage: image
|
stage: image
|
||||||
image: docker:stable
|
|
||||||
tags:
|
tags:
|
||||||
- vm
|
- vm
|
||||||
|
before_script:
|
||||||
|
- pacman -Syu --noconfirm podman
|
||||||
script:
|
script:
|
||||||
- podman build
|
- podman build
|
||||||
-f "$CI_PROJECT_DIR/output/Dockerfile.$GROUP"
|
-f "$CI_PROJECT_DIR/output/Dockerfile.$GROUP"
|
||||||
@ -112,6 +113,7 @@ image:build:
|
|||||||
matrix:
|
matrix:
|
||||||
- GROUP: [base, base-devel]
|
- GROUP: [base, base-devel]
|
||||||
before_script:
|
before_script:
|
||||||
|
- pacman -Syu --noconfirm podman
|
||||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
||||||
|
|
||||||
image:build:secure:
|
image:build:secure:
|
||||||
@ -128,6 +130,7 @@ image:build:secure:
|
|||||||
matrix:
|
matrix:
|
||||||
- GROUP: [base, base-devel]
|
- GROUP: [base, base-devel]
|
||||||
before_script:
|
before_script:
|
||||||
|
- pacman -Syu --noconfirm podman
|
||||||
- podman login -u "$GITLAB_PROJECT_USER" -p "$GITLAB_PROJECT_TOKEN" "$CI_REGISTRY"
|
- podman login -u "$GITLAB_PROJECT_USER" -p "$GITLAB_PROJECT_TOKEN" "$CI_REGISTRY"
|
||||||
|
|
||||||
# Build and publish to the Arch Linux group namespaces:
|
# Build and publish to the Arch Linux group namespaces:
|
||||||
@ -145,6 +148,7 @@ image:publish:secure:
|
|||||||
matrix:
|
matrix:
|
||||||
- GROUP: [base, base-devel]
|
- GROUP: [base, base-devel]
|
||||||
before_script:
|
before_script:
|
||||||
|
- pacman -Syu --noconfirm podman
|
||||||
- podman login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_ACCESS_TOKEN" "docker.io"
|
- podman login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_ACCESS_TOKEN" "docker.io"
|
||||||
- podman login -u "$QUAY_USERNAME" -p "$QUAY_PASSWORD" "quay.io"
|
- podman login -u "$QUAY_USERNAME" -p "$QUAY_PASSWORD" "quay.io"
|
||||||
script:
|
script:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
# Some templating is done in order to allow us to easily build different configurations and to
|
# Some templating is done in order to allow us to easily build different configurations and to
|
||||||
# allow us to automate the release process.
|
# 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 /
|
COPY TEMPLATE_ROOTFS_FILE /
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm
|
RUN pacman -Syu --noconfirm
|
||||||
|
Loading…
Reference in New Issue
Block a user