This GitLab CI configuration is valid.
Learn more
.gitlab-ci.yml 4.39 KiB
---
include:
- project: shore/ci-stuff
file: templates/pre-commit.yml
- project: shore/ci-stuff
file: templates/notify.yml
- project: shore/ci-stuff
file: templates/containerfiles.yml
# Base image templates:
stages:
- build-base
- deploy-base
- build
- deploy
.container-build-base:
extends: .container-build
stage: build-base
.container-push-base:
extends: .container-push
stage: deploy-base
# cgit image:
build-cgit:
extends: .container-build
variables:
CONTEXT: cgit
push-cgit:
extends: .container-push
variables:
CONTEXT: cgit
IMAGE: cgit
needs:
- job: build-cgit
artifacts: true
# httpd latest image:
build-httpd:
extends: .container-build-base
variables:
CONTEXT: httpd/bookworm
push-httpd:
extends: .container-push-base
variables:
CONTEXT: httpd/bookworm
IMAGE: httpd
needs:
- job: build-httpd
artifacts: true
# httpd bookworm image:
push-httpd-bookworm:
extends: .container-push-base
variables:
CONTEXT: httpd/bookworm
IMAGE: httpd
TAG: bookworm
needs:
- job: build-httpd
artifacts: true
# httpd bullseye image: