Loading .gitlab-ci.yml +3 −2 Original line number Diff line number Diff line Loading @@ -4,11 +4,10 @@ include: context-path: "kaniko" file: "deploy/Dockerfile" build-args: >- --target kaniko-debug --cache-ttl=6h --target kaniko-debug --platform linux/amd64 --platform linux/arm64 hadolint-disabled: "true" prod-publish-strategy: "auto" snapshot-image: "$CI_REGISTRY_IMAGE/snapshot:$KANIKO_VERSION" release-image: "$CI_REGISTRY_IMAGE:$KANIKO_VERSION" release-extra-tags: "latest \\g<major>.\\g<minor>\\g<build> \\g<major>\\g<build>" Loading @@ -28,6 +27,7 @@ get-kaniko: stage: build script: - git clone --depth 1 --branch "v$KANIKO_VERSION" https://github.com/chainguard-forks/kaniko.git - rm -r kaniko/.git artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" expire_in: 1 day Loading @@ -36,5 +36,6 @@ get-kaniko: - kaniko docker-buildah-build: resource_group: kaniko tags: - saas-linux-medium-amd64 Loading
.gitlab-ci.yml +3 −2 Original line number Diff line number Diff line Loading @@ -4,11 +4,10 @@ include: context-path: "kaniko" file: "deploy/Dockerfile" build-args: >- --target kaniko-debug --cache-ttl=6h --target kaniko-debug --platform linux/amd64 --platform linux/arm64 hadolint-disabled: "true" prod-publish-strategy: "auto" snapshot-image: "$CI_REGISTRY_IMAGE/snapshot:$KANIKO_VERSION" release-image: "$CI_REGISTRY_IMAGE:$KANIKO_VERSION" release-extra-tags: "latest \\g<major>.\\g<minor>\\g<build> \\g<major>\\g<build>" Loading @@ -28,6 +27,7 @@ get-kaniko: stage: build script: - git clone --depth 1 --branch "v$KANIKO_VERSION" https://github.com/chainguard-forks/kaniko.git - rm -r kaniko/.git artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" expire_in: 1 day Loading @@ -36,5 +36,6 @@ get-kaniko: - kaniko docker-buildah-build: resource_group: kaniko tags: - saas-linux-medium-amd64