run on git commit

This commit is contained in:
Wing Lian
2023-05-07 03:37:59 -04:00
parent 6603b3744e
commit 15bdbae805

View File

@@ -1,3 +1,5 @@
image: "python:3.7"
build:
stage: build
image:
@@ -7,5 +9,5 @@ build:
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
# rules:
# - if: $CI_COMMIT_TAG
rules:
- if: $CI_COMMIT_SHA