Update .gitlab-ci.yml

This commit is contained in:
Luke 2022-02-05 01:27:34 +00:00
parent 8e340297a8
commit 8b68d7f5de

View File

@ -40,6 +40,7 @@ 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
- apt-get update && apt-get install -y curl
- /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
- /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot
rules: