I tried
deploy:
stage: deploy
image: flyio/flyctl
cache: []
script:
- flyctl deploy
only:
- main
But it didn’t worked:
Created fresh repository.
Checking out edc7a1e5 as detached HEAD (ref is main)...
Skipping Git submodules setup
$ git remote set-url origin "${CI_REPOSITORY_URL}"
Executing "step_script" stage of the job script 00:01
Using docker image sha256:3a5dd5aaab5fbbcd8770d338153d0045ca081c57ae9240ef292226e69b984be4 for flyio/flyctl with digest flyio/flyctl@sha256:82666c0a4291e2da8148a1d6aa51488cf680fc8a249c1086cfd96b85c98080ce ...
Error: unknown command "sh" for "flyctl"
Did you mean this?
ssh
Run 'flyctl --help' for usage.