Skip to content

Commit

Permalink
Change release to be triggered on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
ruscoder committed Feb 26, 2025
1 parent 7ec9b74 commit 3dc8008
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: release
on: [release]
on:
push:
tags:
- "v*.*.*"
env:
BUILD_IMAGE: bedasoftware/fhir-sdc
CACHE_IMAGE: bedasoftware/fhir-sdc:latest
Expand All @@ -10,7 +13,10 @@ jobs:
tests_aidbox_license: ${{ secrets.TESTS_AIDBOX_LICENSE }}
Release:
runs-on: ubuntu-latest
needs: [BuildAndTest]
steps:
- uses: actions/checkout@v2
- run: docker pull ${{ env.CACHE_IMAGE }} || true
- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/tags/v})" >>$GITHUB_OUTPUT
Expand Down

0 comments on commit 3dc8008

Please sign in to comment.