Files
actions/images/act/Dockerfile
T

16 lines
646 B
Docker

FROM docker.gitea.com/runner-images:ubuntu-latest
## renovate: datasource=github-releases depName=getsops/sops
ARG SOPS_VERSION=v3.13.3
RUN set -eux; \
arch=$(dpkg --print-architecture); \
asset="sops-${SOPS_VERSION}.linux.${arch}"; \
url="https://github.com/getsops/sops/releases/download/${SOPS_VERSION}"; \
curl -fsSL -o "/tmp/$asset" "$url/$asset"; \
curl -fsSL -o /tmp/checksums.txt "$url/sops-${SOPS_VERSION}.checksums.txt"; \
(cd /tmp && grep " ${asset}$" checksums.txt | sha256sum -c -); \
install -m 0755 "/tmp/$asset" /usr/local/bin/sops; \
rm -f "/tmp/$asset" /tmp/checksums.txt; \
sops --version