1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 06:56:46 +00:00

fighting CI

This commit is contained in:
Anson Biggs 2023-04-07 14:50:29 -06:00
parent 580fcbb84d
commit 928a23c8c6

View File

@ -16,7 +16,7 @@ build:master:
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:latest"
rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- if: '${CI_COMMIT_BRANCH} == "master"'
build:branch:
@ -31,4 +31,4 @@ build:branch:
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_BRANCH}"
rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "master"'
- if: '${CI_COMMIT_BRANCH} != "master"'