Fix sync argo step
This commit is contained in:
parent
29ef031d21
commit
5222e203eb
@ -41,7 +41,7 @@ steps:
|
||||
environment:
|
||||
ARGOCD_TOKEN:
|
||||
from_secret: ARGOCD_TOKEN
|
||||
script:
|
||||
commands:
|
||||
- apk add --no-cache jq curl
|
||||
- latest=$(curl -sL https://api.github.com/repos/argoproj/argo-cd/releases/latest | jq -r '.assets[] | select( .name | contains("argocd-linux-amd64")).browser_download_url')
|
||||
- curl -Ls $latest -o /tmp/argocd && chmod +x /tmp/argocd
|
||||
|
Loading…
x
Reference in New Issue
Block a user