Skip to content

Commit

Permalink
fix sops
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Jul 31, 2024
1 parent cce59fb commit e5b2490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ RUN curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opent
# Sops
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
echo "Performing actions specific to AMD64"; \
curl -LO https://github.com/getsops/sops/releases/download/v3.9.0/sops-v3.9.0.linux.amd64 && mv sops-v3.9.0.linux.amd64 /usr/bin/sops && chmod +x /usr/bin/sops \
curl -LO https://github.com/getsops/sops/releases/download/v3.9.0/sops-v3.9.0.linux.amd64 && mv sops-v3.9.0.linux.amd64 /usr/bin/sops && chmod +x /usr/bin/sops; \
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
echo "Performing actions specific to ARM64"; \
curl -LO https://github.com/getsops/sops/releases/download/v3.9.0/sops-v3.9.0.linux.arm64 && mv sops-v3.9.0.linux.arm64 /usr/bin/sops && chmod +x /usr/bin/sops \
curl -LO https://github.com/getsops/sops/releases/download/v3.9.0/sops-v3.9.0.linux.arm64 && mv sops-v3.9.0.linux.arm64 /usr/bin/sops && chmod +x /usr/bin/sops; \
else \
echo "Unknown platform"; \
fi
Expand Down

0 comments on commit e5b2490

Please sign in to comment.