From 8c1d005296ff78c28052fa46b06707881ab611fb Mon Sep 17 00:00:00 2001 From: Daya Adianto <dayaadianto@cs.ui.ac.id> Date: Tue, 3 Oct 2023 18:56:28 +0700 Subject: [PATCH] Update Docker image used in deploy CI job --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f46183e..aa963a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -103,13 +103,15 @@ test: deploy: stage: deploy - image: - name: docker.io/flyio/flyctl:v0.1.103 - entrypoint: [""] + image: docker.io/bitnami/git:2.42.0 variables: + FLYCTL_VERSION: 0.1.104 FLY_API_TOKEN: $PRODUCTION_FLY_API_TOKEN rules: !reference [.upstream-deploy-production-rules, rules] - script: "/flyctl deploy --remote-only" + before_script: + - curl -L https://fly.io/install.sh | sh -s $FLYCTL_VERSION + script: + - /root/.fly/bin/flyctl deploy --remote-only environment: name: production url: https://sitodo-pmpl.fly.dev -- GitLab