Skip to content
Snippets Groups Projects
Commit b06232ff authored by George Sedov's avatar George Sedov
Browse files

revert podman (doesn't work)

parent 1265ae8b
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,9 @@ build-front:
stage: deploy
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- cd $CI_PROJECT_DIR/build/deploy/asapo_services_light
- ./prepare-docker.sh
- /kaniko/executor --cache=false --single-snapshot --context $CI_PROJECT_DIR/build/deploy/asapo_services_light --dockerfile $CI_PROJECT_DIR/build/deploy/asapo_services_light/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG} --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG_LATEST}
- services="broker authorizer discovery receiver file-transfer"
- >
for service in $services; do
......@@ -343,22 +346,6 @@ build-front:
- kubernetes-executor
dependencies:
- build-services-linux-release
build-standalone-podman:
image:
name: quay.io/podman/stable
stage: deploy
script:
- cd $CI_PROJECT_DIR/build/deploy/asapo_services_light
- ./prepare-docker.sh
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- podman build -t "$CI_REGISTRY_IMAGE/asapo-standalone-dev:${CI_COMMIT_SHORT_SHA}" .
# - /kaniko/executor --cache=false --single-snapshot --context $CI_PROJECT_DIR/build/deploy/asapo_services_light --dockerfile $CI_PROJECT_DIR/build/deploy/asapo_services_light/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG} --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG_LATEST}
- podman push "$CI_REGISTRY_IMAGE/asapo-standalone-dev:${CI_COMMIT_SHORT_SHA}"
tags:
- kubernetes-executor
dependencies:
- build-services-linux-release
- build-front
build-services-docker-dev:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment