Skip to content

🔧 Build CI Img

🔧 Build CI Img #27

Workflow file for this run

name: Build CI Img
on:
# Push includes PR merge
push:
branches:
- main
- staging
- development
paths:
# Workflow is triggered only if deps change
- "src/backend/pyproject.toml"
- "src/backend/Dockerfile"
# Allow manual trigger
workflow_dispatch:
jobs:
extract-vars:
uses: ./.github/workflows/r-extract_vars.yml
backend-ci-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@main

Check failure on line 22 in .github/workflows/build_ci_img.yml

View workflow run for this annotation

GitHub Actions / Build CI Img

Invalid workflow file

The workflow is not valid. In .github/workflows/build_ci_img.yml (Line: 22, Col: 11): Error from called workflow hotosm/gh-workflows/.github/workflows/image_build.yml@main (Line: 108, Col: 17): Unexpected symbol: '|'. Located at position 19 within expression: inputs.image_tags | steps.set-tags.outputs.tags

Check failure on line 22 in .github/workflows/build_ci_img.yml

View workflow run for this annotation

GitHub Actions / Build CI Img

Invalid workflow file

The workflow is not valid. .github/workflows/build_ci_img.yml (Line: 22, Col: 11): Input image_name is required, but not provided while calling.
needs: [extract-vars]
with:
context: src/backend
build_target: ci
image_tags: |
"ghcr.io/hotosm/fmtm/backend:${{ needs.extract-vars.outputs.api_version }}-ci-${{ github.ref_name }}"
"ghcr.io/hotosm/fmtm/backend:ci-${{ github.ref_name }}"
build_args: |
APP_VERSION=${{ needs.extract-vars.outputs.api_version }}