Commit 0a295c87 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: enable semantic release + extra tags

Closes #1
parent bc93aff4
Loading
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
include:
  # $TBC_NAMESPACE is a group variable; can be globally overridden
  # Docker template
  - project: "$TBC_NAMESPACE/docker"
    ref: "5.8"
    ref: "5.9"
    file: "templates/gitlab-ci-docker.yml"
  # Python template
  - project: "$TBC_NAMESPACE/python"
    ref: "6.7"
    file: "/templates/gitlab-ci-python.yml"
  # semantic-release template
  - project: "$TBC_NAMESPACE/semantic-release"
    ref: "3.8"
    file: "templates/gitlab-ci-semrel.yml"

stages:
  - build
@@ -24,6 +30,8 @@ variables:
  PYTHON_SBOM_DISABLED: "true"
  DOCKER_BUILD_ARGS: "--cache-ttl=6h"
  DOCKER_PROD_PUBLISH_STRATEGY: "auto"
  DOCKER_RELEASE_EXTRA_TAGS: "latest \\g<major>.\\g<minor>\\g<build> \\g<major>\\g<build>"
  SEMREL_AUTO_RELEASE_ENABLED: "true"
  AWS_ACCOUNT: 123456789012
  AWS_REGION: us-east-1