fix argocd url
This commit is contained in:
parent
5222e203eb
commit
65c6652f0e
@ -45,7 +45,7 @@ steps:
|
|||||||
- apk add --no-cache jq curl
|
- 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')
|
- 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
|
- curl -Ls $latest -o /tmp/argocd && chmod +x /tmp/argocd
|
||||||
- /tmp/argocd --insecure --server argocd-server.argocd.svc.cluster.local --auth-token $ARGOCD_TOKEN app set dragon-bot --helm-set image.tag=${DRONE_BUILD_NUMBER}
|
- /tmp/argocd --insecure --server 192.168.2.205 --auth-token $ARGOCD_TOKEN app set dragon-bot --helm-set image.tag=${DRONE_BUILD_NUMBER}
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user