Skip to content
Snippets Groups Projects
Commit e814d3cc authored by Administrator's avatar Administrator
Browse files

Update Dockerfile, .gitlab-ci.yml files

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #62 failed
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
FROM gcr.io/kaniko-project/executor:arm64-v1.3.0
COPY --from=arm64v8/busybox:1.32.0 /bin /busybox
# Declare /busybox as a volume to get it automatically in the path to ignore
VOLUME /busybox
ENV PATH /usr/local/bin:/kaniko:/busybox
# via https://github.com/GoogleContainerTools/kaniko/issues/1488
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment