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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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: