mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 07:16:40 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
928a23c8c6
commit
e63dc7f46b
@ -16,7 +16,7 @@ build:master:
|
|||||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||||
--destination "${CI_REGISTRY_IMAGE}:latest"
|
--destination "${CI_REGISTRY_IMAGE}:latest"
|
||||||
rules:
|
rules:
|
||||||
- if: '${CI_COMMIT_BRANCH} == "master"'
|
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||||
|
|
||||||
|
|
||||||
build:branch:
|
build:branch:
|
||||||
@ -31,4 +31,4 @@ build:branch:
|
|||||||
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}"
|
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}"
|
||||||
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_BRANCH}"
|
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_BRANCH}"
|
||||||
rules:
|
rules:
|
||||||
- if: '${CI_COMMIT_BRANCH} != "master"'
|
- if: '$CI_COMMIT_BRANCH != "master"'
|
Loading…
x
Reference in New Issue
Block a user