Update .gitlab-ci.yml file
This commit is contained in:
parent
e643833472
commit
818d288cc5
|
@ -121,15 +121,16 @@ build:
|
||||||
|
|
||||||
release_dev:
|
release_dev:
|
||||||
stage: deploy
|
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:
|
# rules:
|
||||||
# - if: $CI_COMMIT_TAG
|
# - if: $CI_COMMIT_TAG
|
||||||
# when: never # Do not run this job when a tag is created manually
|
# 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
|
# - if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch
|
||||||
script:
|
script:
|
||||||
- 'echo "running release_job for $CI_COMMIT_SHA"'
|
- 'apk add gitlab-release-cli'
|
||||||
# release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
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.
|
tag_name: 'test-build-$CI_PIPELINE_IID' # The version is incremented per pipeline.
|
||||||
# description: 'Automated release based on commit CI_COMMIT_SHA'
|
description: 'Automated release based on commit CI_COMMIT_SHA'
|
||||||
# ref: '$CI_COMMIT_BRANCH' # The tag is created from the pipeline SHA.
|
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue