default: image: docker:git stages: - build build: stage: build image: ghcr.io/vojtechmares/container-images/ko-build:sha-4fe26ad8a0623547dfe3e76367450fbf9d6c4148 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