Skip to content

Trigger release on explicit release #2

Trigger release on explicit release

Trigger release on explicit release #2

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

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

invalid value workflow reference: workflow file should have either a '.yml' or '.yaml' file extension
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 }} .