trying with a wget
This commit is contained in:
parent
a02c2274fa
commit
619f68d23e
@ -40,7 +40,9 @@ build_and_push_container:
|
||||
- docker build -t ldooks/dragon-bot:$CI_PIPELINE_ID -t ldooks/dragon-bot:latest .
|
||||
- docker push ldooks/dragon-bot:latest
|
||||
- docker push ldooks/dragon-bot:$CI_PIPELINE_ID
|
||||
- docker run --rm daangn/argocd-cli sh -c "/usr/local/bin/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot"
|
||||
- wget https://github.com/argoproj/argo-cd/releases/download/v2.2.5/argocd-linux-amd64 -O /tmp/argocd && chmod +x /tmp/argocd
|
||||
- /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot
|
||||
#- docker run --rm daangn/argocd-cli sh -c "/usr/local/bin/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot"
|
||||
rules:
|
||||
- changes:
|
||||
- app/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user