Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
fixed statement that decides to push the image at main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSteinbach committed Mar 12, 2021
1 parent ddd45eb commit 056c293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
python.isort(), python.flake8(), python.pytest(), python.evaluate_git_tag_pep404_conformity(),
kaniko.execute(
image_name="thomass/gcip",
enable_push=(PredefinedVariables.CI_COMMIT_TAG or PredefinedVariables.CI_COMMIT_BRANCH == "master"),
enable_push=(PredefinedVariables.CI_COMMIT_TAG or PredefinedVariables.CI_COMMIT_BRANCH == "main"),
dockerhub_user_env_var="DOCKER_USER",
dockerhub_login_env_var="DOCKER_LOGIN",
)
Expand Down

0 comments on commit 056c293

Please sign in to comment.