Skip to content

Commit 74fb86a

Browse files
committed
change
1 parent e5f5a69 commit 74fb86a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/build-backend.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
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 }}

infrastructure/tools/images/kaniko/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ FROM gcr.io/kaniko-project/executor:debug AS kaniko
22

33
FROM 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

79
ENV SSL_CERT_DIR /kaniko/ssl/certs
810
ENV PATH $PATH:/usr/local/bin:/kaniko
911
ENV DOCKER_CONFIG /kaniko/.docker/
10-
11-
USER root

0 commit comments

Comments
 (0)