default: image: docker:git stages: - build build: stage: build image: ghcr.io/vojtechmares/container-images/ko-build:sha-43a026ac57ae13623239eaa76669757fc713e32d variables: TAG: $CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA KO_DOCKER_REPO: $CI_REGISTRY_IMAGE before_script: - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY script: - ko build --platform=linux/arm64,linux/amd64 --tags $TAG ./cmd/yggdrasil