This modified container should be used in conjunction with SOPS/KSOPS encrypted secrets.
# Create the ArgoCD SOPS Manifest
buildah manifest create argocd-sops-v2.3.3
# Build the amd64 container
buildah bud --manifest argocd-sops-v2.3.3 \
--tag ghcr.io/danmanners/argo-repo-server:v2.3.3 \
--arch amd64 .
# Ensure that we're logged into GitHub Container Registry
echo "$(cat ~/.github/token|head -1)" | \
buildah login --password-stdin \
--username danmanners ghcr.io
# Push the Buildah Manifest to GHCR
buildah manifest push \
--all argocd-sops-v2.3.3 \
docker://ghcr.io/danmanners/argo-repo-server:v2.3.3
You can validate the Containerfile efficiency (with podman
and dive by running the following command.
# Set the version
ARGO_VERSION="v2.1.3"
# Use Podman to build the container
podman build -t argocd-sops:$ARGO_VERSION `pwd`
# Use Dive with the Podman Source to evaluate the efficiency
dive podman://localhost/argocd-sops:$ARGO_VERSION