Skip to content
Snippets Groups Projects
Verified Commit 69f483df authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

Provide parameter to adjust dockerfile location

parent b6301080
No related branches found
No related tags found
No related merge requests found
Pipeline #4024 failed
......@@ -14,6 +14,7 @@ container-build:
- CI_REGISTRY_USER
- CI_REGISTRY_PASSWORD
- CI_REGISTRY_IMAGE
- CI_REGISTRY_BUILD_DOCKERFILE
- CI_REGISTRY_BUILD_ARGS
image: quay.io/sheogorath/build-ah-engine:1.2.0
before_script:
......@@ -22,7 +23,7 @@ container-build:
- export VCS_REF=$CI_COMMIT_SHA
- export VCS_URL=$CI_PROJECT_URL
script:
- si-fix
- si-fix "$(CI_REGISTRY_BUILD_DOCKERFILE:-./Dockerfile)"
- podman build --pull $CI_REGISTRY_BUILD_ARGS -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" .
- podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment