Skip to content

release

release #6

Workflow file for this run

name: release
on: [release]
env:
BUILD_IMAGE: bedasoftware/fhir-sdc
CACHE_IMAGE: bedasoftware/fhir-sdc:latest
jobs:
Build:
uses: ./.github/workflows/test.yml

Check failure on line 8 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/test.yml" (source tag with sha:875543e47e9c31a26661526b622177b9bcea7ccc) : workflow is not reusable as it is missing a `on.workflow_call` trigger
Release:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/tags/v})" >>$GITHUB_OUTPUT
id: extract_branch
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- run: docker run --rm --privileged tonistiigi/binfmt --install all
- run: >-
docker buildx build --platform linux/arm64,linux/amd64
--cache-from ${{ env.CACHE_IMAGE }} --push
--tag ${{ env.BUILD_IMAGE }}:${{ steps.extract_branch.outputs.branch }} --tag ${{ env.CACHE_IMAGE }} .