Change ksops installation method
Build webhook-deployer container / Build image (push) Successful in 35s Details

This commit is contained in:
Mathis 2024-03-25 21:57:10 +01:00
parent ca945cc4b0
commit ba298947eb
1 changed files with 4 additions and 3 deletions

View File

@ -8,8 +8,9 @@ RUN mv /tmp/sops /usr/local/bin/sops
RUN chmod +x /usr/local/bin/sops RUN chmod +x /usr/local/bin/sops
# Install ksops # Install ksops
ADD https://raw.githubusercontent.com/viaduct-ai/kustomize-sops/master/scripts/install-ksops-archive.sh /tmp/install-ksops-archive.sh ADD https://github.com/viaduct-ai/kustomize-sops/releases/download/v4.3.1/ksops_latest_Linux_x86_64.tar.gz /tmp/ksops.tar.gz
RUN chmod +x /tmp/install-ksops-archive.sh RUN tar -xzf /tmp/ksops.tar.gz -C /tmp
RUN /tmp/install-ksops-archive.sh RUN mv /tmp/ksops /usr/local/bin/ksops
RUN chmod +x /usr/local/bin/ksops
ENTRYPOINT ["/usr/local/bin/webhook", "--hooks", "/etc/webhook/hooks.yaml"] ENTRYPOINT ["/usr/local/bin/webhook", "--hooks", "/etc/webhook/hooks.yaml"]