Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
b5f95d3fc9 | |||
77d5158659 | |||
c418a6ce4b |
@ -22,7 +22,7 @@ steps:
|
|||||||
build:
|
build:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
repo: quay.io/wollud1969/k8s-admin-helper
|
repo: quay.io/wollud1969/woodpecker-helper
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
@ -2,7 +2,9 @@ FROM alpine:latest
|
|||||||
|
|
||||||
ARG USER="user"
|
ARG USER="user"
|
||||||
|
|
||||||
RUN apk add --no-cache kubectl gpg gpg-agent bash && \
|
RUN \
|
||||||
|
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
||||||
|
apk add --no-cache kubectl gpg gpg-agent bash trivy@testing curl helm && \
|
||||||
addgroup $USER && \
|
addgroup $USER && \
|
||||||
adduser -G $USER -D $USER
|
adduser -G $USER -D $USER
|
||||||
|
|
||||||
@ -11,6 +13,3 @@ COPY decrypt-secrets.sh /usr/local/bin/
|
|||||||
USER $USER
|
USER $USER
|
||||||
WORKDIR /home/$USER
|
WORKDIR /home/$USER
|
||||||
|
|
||||||
RUN gpg -k
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user