ci: deploy container to rdsys-staging

Merge request reports

Loading
+11 −0
Changes for .gitlab-ci.yml: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
stages:
  - test
  - container-build
  - deploy

test:
  stage: test
@@ -23,3 +24,13 @@ container-build:
    - export TAG="$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
    - podman build -t $TAG .
    - podman push $TAG

deploy-rdsys-staging:
  stage: deploy
  tags:
    - shell
  script:
    - /usr/local/bin/tpa-rdsys-staging-ci-deploy ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
  rules:
    - if: $CI_COMMIT_REF_NAME == "main"
      when: always
Loading