fix(docker_build): on success push container to docker hub

!53
This commit is contained in:
2023-06-07 13:25:17 +09:30
parent 0b5680deac
commit 11b6209992

View File

@ -107,7 +107,7 @@
$CI_PIPELINE_SOURCE == "push" $CI_PIPELINE_SOURCE == "push"
exists: exists:
- '{dockerfile, dockerfile.j2}' - '{dockerfile, dockerfile.j2}'
when: always when: on_success
- if: # condition_dev_branch_push - if: # condition_dev_branch_push
$CI_COMMIT_BRANCH == "development" && $CI_COMMIT_BRANCH == "development" &&
@ -119,6 +119,6 @@
- '{dockerfile, dockerfile.j2, includes/**}' - '{dockerfile, dockerfile.j2, includes/**}'
compare_to: 'master' compare_to: 'master'
allow_failure: true allow_failure: true
when: manual when: on_success
- when: never - when: never