We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c08691 commit 0a238fbCopy full SHA for 0a238fb
.gitlab-ci.yml
@@ -0,0 +1,15 @@
1
+image-build:
2
+ image:
3
+ name: quay.io/buildah/stable:latest
4
+ stage: build
5
+ before_script:
6
+ - 'echo "$CI_REGISTRY_PASSWORD" | buildah login --username "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY'
7
+ script:
8
+ - buildah bud
9
+ -f "Containerfile"
10
+ -t "$CI_REGISTRY_IMAGE/codeclimate/codeclimate-openapi:latest"
11
+ --layers
12
+ --cache-from=$CI_REGISTRY_IMAGE/codeclimate-openapi/cache
13
+ --cache-to=$CI_REGISTRY_IMAGE/codeclimate-openapi/cache
14
+ .
15
+ - buildah push "$CI_REGISTRY_IMAGE/codeclimate-openapi:latest"
0 commit comments