Skip to content
Snippets Groups Projects
Commit 3c967e50 authored by nimrod's avatar nimrod
Browse files

Fix GitLab CI pipeline.

Without the CONTEXT variable, the rules for push jobs was broken and
always triggered. This also pulled in the dependency jobs. I don't see a
way to avoid defining the CONTEXT variable in both build and push jobs.
parent e8533d91
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ stages:
# hard-coded to latest.
variables:
TAG: latest
CONTEXT: "$IMAGE"
# Job templates:
......@@ -72,6 +71,7 @@ build-httpd:
push-httpd:
extends: .push
variables:
CONTEXT: httpd/buster
IMAGE: httpd
needs:
- job: build-httpd
......@@ -82,6 +82,7 @@ push-httpd:
push-httpd-buster:
extends: .push
variables:
CONTEXT: httpd/buster
IMAGE: httpd
TAG: buster
needs:
......@@ -98,6 +99,7 @@ build-httpd-bullseye:
push-httpd-bullseye:
extends: .push
variables:
CONTEXT: httpd/bullseye
IMAGE: httpd
TAG: bullseye
needs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment