Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 0d0c9b99 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

fix(ci): forward variables to downtsream pipeline

parent bd313695
Loading
Loading
Loading
Loading
+8 −4
Original line number Original line Diff line number Diff line
.docker:
.docker:
  stage: build
  stage: build
  image: docker:git
  image: docker:26
  services:
  services:
    - docker:dind
    - docker:26-dind
  tags:
  tags:
    - generic_privileged
    - generic_privileged
  before_script:
  before_script:
@@ -55,8 +55,10 @@ deploy_staging:
    project: e/online-services/infra/web/eos-installer
    project: e/online-services/infra/web/eos-installer
    branch: main
    branch: main
    strategy: depend
    strategy: depend
    forward:
      pipeline_variables: true
  variables:
  variables:
    IMAGE_TAG: latest
    DOCKER_TAG: latest
  when: manual
  when: manual


deploy_production:
deploy_production:
@@ -70,5 +72,7 @@ deploy_production:
    project: e/online-services/infra/web/eos-installer
    project: e/online-services/infra/web/eos-installer
    branch: main
    branch: main
    strategy: depend
    strategy: depend
    forward:
      pipeline_variables: true
  variables:
  variables:
    IMAGE_TAG: ${CI_COMMIT_TAG/v/}
    DOCKER_TAG: ${CI_COMMIT_TAG/v/}