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

Commit 056c293

Browse files
fixed statement that decides to push the image at main branch
1 parent ddd45eb commit 056c293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
python.isort(), python.flake8(), python.pytest(), python.evaluate_git_tag_pep404_conformity(),
1010
kaniko.execute(
1111
image_name="thomass/gcip",
12-
enable_push=(PredefinedVariables.CI_COMMIT_TAG or PredefinedVariables.CI_COMMIT_BRANCH == "master"),
12+
enable_push=(PredefinedVariables.CI_COMMIT_TAG or PredefinedVariables.CI_COMMIT_BRANCH == "main"),
1313
dockerhub_user_env_var="DOCKER_USER",
1414
dockerhub_login_env_var="DOCKER_LOGIN",
1515
)

0 commit comments

Comments
 (0)