Update .gitlab-ci.yml

This commit is contained in:
Luke 2022-02-05 01:22:28 +00:00
parent f3f5ffb7b3
commit 8e340297a8

View File

@ -41,7 +41,7 @@ build_and_push_container:
- docker push ldooks/dragon-bot:latest - docker push ldooks/dragon-bot:latest
- docker push ldooks/dragon-bot:$CI_PIPELINE_ID - docker push ldooks/dragon-bot:$CI_PIPELINE_ID
- /bin/sh -c curl -sSL -o /tmp/argocd https://github.com/argoproj/argo-cd/releases/download/v2.2.4/argocd-linux-amd64 && chmod u+x /tmp/argocd - /bin/sh -c curl -sSL -o /tmp/argocd https://github.com/argoproj/argo-cd/releases/download/v2.2.4/argocd-linux-amd64 && chmod u+x /tmp/argocd
- docker run --rm daangn/argocd-cli sh -c /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot - /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot
rules: rules:
- changes: - changes:
- app/* - app/*