mirror of
https://github.com/usatiuk/y.git
synced 2025-10-28 18:37:47 +01:00
fix ci?
This commit is contained in:
@@ -8,14 +8,11 @@ test:
|
|||||||
script:
|
script:
|
||||||
- cd server && ./gradlew test
|
- cd server && ./gradlew test
|
||||||
|
|
||||||
build:
|
container:
|
||||||
stage: build
|
stage: build
|
||||||
image: docker:24.0.5
|
image: $CI_REGISTRY/ict/images/buildah:latest
|
||||||
services:
|
|
||||||
- docker:24.0.5-dind
|
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
|
||||||
script:
|
script:
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- buildah build --squash --tag $IMAGE_TAG .
|
||||||
- docker build -t $IMAGE_TAG .
|
- buildah push $IMAGE_TAG
|
||||||
- docker push $IMAGE_TAG
|
|
||||||
|
|||||||
Reference in New Issue
Block a user