Skip to content

Deploy to Cloudflare #3

Deploy to Cloudflare

Deploy to Cloudflare #3

Workflow file for this run

name: Verify
on:
pull_request:
branches: [main]
workflow_call:
secrets:
STACK_DEPLOY_SSH_PRIVATE_KEY:
required: true
DEPOT_PROJECT_ID:
required: true
DOCKERHUB_USER:
required: true
DOCKERHUB_PASSWORD:
required: true
# Cancel in-progress workflows for the same PR or branch/tag
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# Needs to be a superset of what Verify workflow needs
permissions:
contents: read # Clone repo
id-token: write # Depot OIDC
jobs:
build:
timeout-minutes: 10
runs-on: depot-ubuntu-latest-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build
with:
dockerhub-user: ${{ secrets.DOCKERHUB_USER }}
dockerhub-password: ${{ secrets.DOCKERHUB_PASSWORD }}
dockerfile: ./Dockerfile
depot: true
depot-project-id: ${{ secrets.DEPOT_PROJECT_ID }}
context: .
platforms: 'linux/arm64'