Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -15,10 +15,11 @@ steps:
|
|||||||
image: alpine
|
image: alpine
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
BUILDAH_REG: zot.badhouseplants.net/badhouseplants/badhouseplants-builder
|
BUILDAH_REG: gitea.badhouseplants.net/badhouseplants/container-builder
|
||||||
REGISTRY_TOKEN:
|
REGISTRY_TOKEN:
|
||||||
from_secret: registry_token
|
from_secret: registry_token
|
||||||
commands:
|
commands:
|
||||||
|
- env
|
||||||
- ./build
|
- ./build
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
|
|||||||
@@ -1,16 +1,5 @@
|
|||||||
FROM registry.hub.docker.com/rclone/rclone AS rclone
|
|
||||||
WORKDIR /out
|
|
||||||
RUN cp $(which rclone) /out/rclone
|
|
||||||
|
|
||||||
FROM registry.hub.docker.com/argoproj/argocd as argocd
|
|
||||||
WORKDIR /out
|
|
||||||
RUN cp $(which argocd) /out/argocd
|
|
||||||
|
|
||||||
|
|
||||||
FROM registry.hub.docker.com/library/alpine
|
FROM registry.hub.docker.com/library/alpine
|
||||||
RUN apk update --no-cache&&\
|
RUN apk update --no-cache &&\
|
||||||
apk add yq gettext openssl curl jq perl git git-lfs netavark\
|
apk add yq gettext openssl curl jq perl git git-lfs netavark\
|
||||||
buildah cni-plugins iptables ip6tables fuse-overlayfs --no-cache
|
buildah cni-plugins iptables ip6tables fuse-overlayfs --no-cache
|
||||||
COPY --from=rclone /out/rclone /usr/bin/rclone
|
|
||||||
COPY --from=argocd /out/argocd /usr/bin/argocd
|
|
||||||
COPY ./scripts/ /usr/bin/
|
COPY ./scripts/ /usr/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user