Commit 4d6eaae9 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

Merge branch 'hoverht-master-patch-53893' into 'master'

fix: use bash image

See merge request ci/templates!15
parents 47ae6d8d 00daea82
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
# This job will create or update a version badge containing the latest tag

semantic-release:badge:
  image: registry.gitlab.com/notno/semantic-release-gitlab:latest
  image: bash:latest
  stage: deploy
  script:
    - apk add --no-cache curl
    - |
      if [[ ! ${CI_COMMIT_TAG} =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then
        echo "[!] Not a version tag in format v#.#.#."
@@ -20,3 +21,4 @@ semantic-release:badge:
      esac
  rules:
    - if: $CI_COMMIT_TAG
  needs: []