Skip to content
Snippets Groups Projects
Commit 724d6a07 authored by yyvf's avatar yyvf
Browse files

ci: testing podman

parent 9cd786de
No related branches found
No related tags found
No related merge requests found
Pipeline #41655 failed
...@@ -4,13 +4,11 @@ stages: ...@@ -4,13 +4,11 @@ stages:
build: build:
stage: build stage: build
image: image: quay.io/podman/stable
name: quay.io/buildah/stable
entrypoint: [""]
script: script:
- echo "${HARBOR_PASSWORD}" | buildah login -u "${HARBOR_USERNAME}" --password-stdin "${HARBOR_HOST}" - echo "${HARBOR_PASSWORD}" | podman login -u "${HARBOR_USERNAME}" --password-stdin "${HARBOR_HOST}"
- buildah bud -t "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}" "${CI_PROJECT_DIR}" - podman build -t "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}" "${CI_PROJECT_DIR}"
- buildah push "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}" - podman push "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}"
deploy: deploy:
stage: deploy stage: deploy
......
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