add devcontainer build to ci
This commit is contained in:
parent
3672e01944
commit
66d323fe73
3 changed files with 7 additions and 6 deletions
|
|
@ -8,14 +8,14 @@ variables:
|
|||
stages:
|
||||
- test
|
||||
- build-and-push-image
|
||||
- push-retagged-branch
|
||||
- push-retagged-latest
|
||||
|
||||
build-and-push-image:
|
||||
stage: build-and-push-image
|
||||
script:
|
||||
- git submodule update --init
|
||||
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- podman build -t "$CI_REGISTRY_IMAGE/dev-container:latest" --target=dev-container .
|
||||
- podman push "$CI_REGISTRY_IMAGE/dev-container:latest"
|
||||
- podman build -t "$CI_REGISTRY_IMAGE/node-holder:$CI_COMMIT_SHORT_SHA" --target=node-holder .
|
||||
- podman build -t "$CI_REGISTRY_IMAGE/proxy-secure-v1:$CI_COMMIT_SHORT_SHA" --target=proxy-secure-v1 .
|
||||
- podman build -t "$CI_REGISTRY_IMAGE/proxy-insecure-v1:$CI_COMMIT_SHORT_SHA" --target=proxy-insecure-v1 .
|
||||
|
|
@ -25,4 +25,4 @@ build-and-push-image:
|
|||
- podman push "$CI_REGISTRY_IMAGE/proxy-secure-v1:$CI_COMMIT_SHORT_SHA"
|
||||
- podman push "$CI_REGISTRY_IMAGE/proxy-insecure-v1:$CI_COMMIT_SHORT_SHA"
|
||||
- podman push "$CI_REGISTRY_IMAGE/backend-auth:$CI_COMMIT_SHORT_SHA"
|
||||
- podman push "$CI_REGISTRY_IMAGE/backend-secure:$CI_COMMIT_SHORT_SHA"
|
||||
- podman push "$CI_REGISTRY_IMAGE/backend-secure:$CI_COMMIT_SHORT_SHA"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue