Skip to content

Commit

Permalink
using latest sops
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomyail committed Feb 5, 2025
1 parent 84bde70 commit 5d6afe7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .taskfiles/workstation/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,13 @@ tasks:
cmd: curl -fsSL "https://i.jpillora.com/{{.ITEM}}&type=script" | bash
- cmd: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl";
curl -sSfL -o sops https://github.com/getsops/sops/releases/latest/download/sops-v3.9.3.linux.amd64
SOPS_VERSION=$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | sed -n 's/.*"tag_name": "v\([^"]*\)".*/\1/p');
curl -sSfL -o sops "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64"
platforms: ['linux/amd64']
- cmd: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl";
curl -sSfL -o sops https://github.com/getsops/sops/releases/latest/download/sops-v3.9.3.linux.arm64
SOPS_VERSION=$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | sed -n 's/.*"tag_name": "v\([^"]*\)".*/\1/p');
curl -sSfL -o sops "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.arm64"
platforms: ['linux/arm64']
- cmd: chmod +x kubectl sops
- cmd: curl -sSfL https://github.com/mitsuhiko/minijinja/releases/latest/download/minijinja-cli-installer.sh | bash
Expand Down

0 comments on commit 5d6afe7

Please sign in to comment.