File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
infrastructure/tools/images/kaniko Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2727 run : |
2828 /kaniko/executor \
2929 --dockerfile=./Dockerfile \
30+ --context=. \
3031 --verbosity debug \
31- --insecure \
32- --skip-tls-verify \
33- --force \
3432 --destination=${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pycon-backend:arm-${{ inputs.githash }}
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ FROM gcr.io/kaniko-project/executor:debug AS kaniko
22
33FROM ghcr.io/actions/actions-runner:2.321.0
44
5- COPY --from=kaniko /kaniko/ /kaniko/
5+ USER runner
6+
7+ COPY --chown=runner:docker --from=kaniko /kaniko/ /kaniko/
68
79ENV SSL_CERT_DIR /kaniko/ssl/certs
810ENV PATH $PATH:/usr/local/bin:/kaniko
911ENV DOCKER_CONFIG /kaniko/.docker/
10-
11- USER root
You can’t perform that action at this time.
0 commit comments