privatebin : fix sha

This commit is contained in:
Gitouche 2024-12-21 22:01:59 +01:00
parent 1eb9052390
commit 80dfecd5b0

View file

@ -22,7 +22,7 @@ if ! podman image exists ${privatebin_image}:${privatebin_version}; then
fi
sed -i "s#mv cfg lib tpl vendor /srv#mv cfg lib tpl vendor /srv \&\& sed -i \\'/Content-Security-Policy\\\|X-XSS-Protection\\\|X-Frame-Options\\\|X-Content-Type-Options/d\\' /srv/lib/Controller.php#" ${buildfolder}/Dockerfile &&
TMPDIR=${HOME} podman image build \
--label "org.opencontainers.image.revision=${tag_sha}" \
--label "org.opencontainers.image.revision=${sha}" \
-t "${privatebin_image}":"${privatebin_version}" \
${buildfolder} || retval=false
podman image prune -a -f --filter dangling=true