mirror of
https://gitlab.com/monolithify/base-image-build.git
synced 2024-11-22 03:01:22 +00:00
ci: fixing pipeline
This commit is contained in:
parent
0fd1835f70
commit
f92dd63263
@ -2,9 +2,13 @@ default:
|
||||
image: $CONTAINER_REGISTRY_DOMAIN_WITH_ORG/gitlab-runner-image
|
||||
|
||||
variables:
|
||||
VM_DISK_OUTPUT_DIR: "/rockyDisks/"
|
||||
VM_DISK_OUTPUT_DIR: "/rockyDisks"
|
||||
SECURE_FILES_DOWNLOAD_PATH: "/secureFiles"
|
||||
|
||||
stages:
|
||||
- build
|
||||
- build-push
|
||||
|
||||
build-builder-vm-disk:
|
||||
stage: build
|
||||
rules:
|
||||
@ -12,6 +16,9 @@ build-builder-vm-disk:
|
||||
changes:
|
||||
- scripts/utils/**/*
|
||||
- scripts/setupBuilder/**/*
|
||||
artifacts:
|
||||
paths:
|
||||
- /rockyDisks
|
||||
variables:
|
||||
# Values should match the ones in .devcontainer/.env
|
||||
ROCKY_VERSION: "9.4"
|
||||
@ -24,8 +31,7 @@ build-builder-vm-disk:
|
||||
# This job is NOT using the host's Docker, but the one within the VM that is generated from the job above
|
||||
# The VM is needed due to the bootc build process requiring a full Rocky host to be used for it
|
||||
build-push-base-image:
|
||||
depends_on: build-builder-vm-disk
|
||||
stage: build
|
||||
stage: build-push
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
changes:
|
||||
|
Loading…
Reference in New Issue
Block a user