Verified Commit accf5dc0 authored by Maxime FRIESS's avatar Maxime FRIESS 💙
Browse files

[ci] Build amd64 and armv7 image

parent c9469b57
Pipeline #69238 failed with stage
in 2 minutes and 21 seconds
......@@ -6,5 +6,9 @@ podman:
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
- podman build --platform linux/amd64 -t $IMAGE_TAG-amd64 .
- podman build --platform linux/arm/v7 -t $IMAGE_TAG-arm32v7 .
- podman push $IMAGE_TAG-amd64
- podman push $IMAGE_TAG-arm32v7
- podman manifest create $IMAGE_TAG $IMAGE_TAG-amd64 $IMAGE_TAG-arm32v7
- podman manifest push $IMAGE_TAG docker://$IMAGE_TAG --format v2s2
# Use node lts
FROM node:16.13
FROM docker.io/node:16.13
# Set working directory
WORKDIR /seb-gateway/
......
Supports Markdown
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