Skip to content

Commit

Permalink
Release steps are also central
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed May 23, 2024
1 parent f4a17cd commit 165e9e2
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,9 @@ on:
push:
tags:
- "*.*.*"
workflow_dispatch:

jobs:
prepare:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.set_tag.outputs.tag }}
steps:
- name: Extract tag from GITHUB_REF
id: set_tag
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT

build-release:
needs: prepare
uses: openconext/openconext-githubactions/.github/workflows/build-release.yml@main
build-release-and-push-container:
uses: openconext/openconext-githubactions/.github/workflows/symfony-release.yml@main
with:
component_name: "Stepup-gssp-example"
tag: ${{ needs.prepare.outputs.tag }}

build-and-push-container:
needs: [ build-release, prepare ]
uses: openconext/openconext-githubactions/.github/workflows/build-push-docker-image.yml@main
with:
component_name: "Stepup-gssp-example"
tag: ${{ needs.prepare.outputs.tag }}

0 comments on commit 165e9e2

Please sign in to comment.