Commit c10b1b30 authored by Simon Volpert's avatar Simon Volpert 🐧
Browse files

Instance template repository init

parent 9eb0eff6
variables:
IMG_BUILD_DIR: .
IMG_PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
containerize:
image:
name: jess/img:v0.5.10
entrypoint: [""]
script:
- img login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- img build --platform $IMG_PLATFORMS -t "$CI_REGISTRY_IMAGE" $IMG_BUILD_DIR
- img tag "$CI_REGISTRY_IMAGE" "$CI_REGISTRY_IMAGE":"$CI_COMMIT_REF_NAME"
- img push "$CI_REGISTRY_IMAGE"
- img push "$CI_REGISTRY_IMAGE":"$CI_COMMIT_REF_NAME"
variables:
IMG_BUILD_DIR: .
containerize:
image:
name: jess/img:v0.5.10
entrypoint: [""]
script:
- img login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- img build -t "$CI_REGISTRY_IMAGE" $IMG_BUILD_DIR
- img tag "$CI_REGISTRY_IMAGE" "$CI_REGISTRY_IMAGE":"$CI_COMMIT_REF_NAME"
- img push "$CI_REGISTRY_IMAGE"
- img push "$CI_REGISTRY_IMAGE":"$CI_COMMIT_REF_NAME"
Markdown is supported
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