Hello,
I'm trying to setup and run an bitbucket pipeline to deploy to fly.io. This is how my bitbucket-pipelines.yml looks like:
Hi @Tino Rachui ,
I don't think you'll be able to use the flyctl image as it doesn't have sh inside it. Instead, you can use a golang image and flyctl CLI as described here - https://fly.io/blog/continuous-deployment-with-gitlab/
HTH!
~ Hariharan
This worked for me.
# Prerequisites: $FLY_API_TOKENimage: atlassian/default-image:5pipelines:branches: main: - step: name: Deploy deployment: Production image: golang:1.26 script: - apt-get update -qq && apt-get install -y curl - curl -L https://fly.io/install.sh | sh - export FLYCTL_INSTALL="/root/.fly" - export PATH="$FLYCTL_INSTALL/bin:$PATH" - flyctl version - flyctl deploy --remote-only --debug --verbose
It looks like you're new here. Sign in or register to get started.