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: build:
stage: build stage: build
image: image:
@@ -7,5 +9,5 @@ build:
- /kaniko/executor - /kaniko/executor
--context "${CI_PROJECT_DIR}" --context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
# rules: rules:
# - if: $CI_COMMIT_TAG - if: $CI_COMMIT_SHA