Skip to content
Snippets Groups Projects
Unverified Commit abc2d27b authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[ci] Build and publish podman image

parent a9363020
Branches
No related merge requests found
Pipeline #69145 passed with stage
in 15 minutes and 4 seconds
image: lorisleiva/laravel-docker:latest
image: node:lts
npm:
stage: build
......@@ -9,7 +9,14 @@ npm:
script:
- yarn install
- yarn build
artifacts:
expire_in: 1 month
paths:
- build/
podman:
stage: build
image:
name: quay.io/podman/stable
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- podman build -t $IMAGE_TAG .
- podman push $IMAGE_TAG
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment