mirror of
https://github.com/usatiuk/y.git
synced 2025-10-28 18:37:47 +01:00
surely now it will work
This commit is contained in:
@@ -10,9 +10,15 @@ test:
|
|||||||
|
|
||||||
container:
|
container:
|
||||||
stage: build
|
stage: build
|
||||||
image: $CI_REGISTRY/ict/images/buildah:latest
|
image: docker:latest
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
|
||||||
|
DOCKER_DRIVER: overlay2
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
before_script:
|
||||||
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- buildah build --squash --tag $IMAGE_TAG .
|
- docker build -t $CI_REGISTRY_IMAGE/$IMAGE_TAG .
|
||||||
- buildah push $IMAGE_TAG
|
- docker push $CI_REGISTRY_IMAGE/$IMAGE_TAG
|
||||||
|
|||||||
Reference in New Issue
Block a user