diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9afd90..351a915 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -121,15 +121,16 @@ build: release_dev: stage: deploy - image: registry.gitlab.com/gitlab-org/release-cli:latest +# image: registry.gitlab.com/gitlab-org/release-cli:latest # this image currently is amd64 only + image: alpine:latest # rules: # - if: $CI_COMMIT_TAG # when: never # Do not run this job when a tag is created manually # - if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch script: - - 'echo "running release_job for $CI_COMMIT_SHA"' -# release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties -# tag_name: 'test-build-$CI_PIPELINE_IID' # The version is incremented per pipeline. -# description: 'Automated release based on commit CI_COMMIT_SHA' -# ref: '$CI_COMMIT_BRANCH' # The tag is created from the pipeline SHA. + - 'apk add gitlab-release-cli' + release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties + tag_name: 'test-build-$CI_PIPELINE_IID' # The version is incremented per pipeline. + description: 'Automated release based on commit CI_COMMIT_SHA' + ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.