Skip to content

Commit 165e9e2

Browse files
committed
Release steps are also central
1 parent f4a17cd commit 165e9e2

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,9 @@ on:
44
push:
55
tags:
66
- "*.*.*"
7-
workflow_dispatch:
87

98
jobs:
10-
prepare:
11-
runs-on: ubuntu-latest
12-
outputs:
13-
tag: ${{ steps.set_tag.outputs.tag }}
14-
steps:
15-
- name: Extract tag from GITHUB_REF
16-
id: set_tag
17-
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
18-
19-
build-release:
20-
needs: prepare
21-
uses: openconext/openconext-githubactions/.github/workflows/build-release.yml@main
9+
build-release-and-push-container:
10+
uses: openconext/openconext-githubactions/.github/workflows/symfony-release.yml@main
2211
with:
2312
component_name: "Stepup-gssp-example"
24-
tag: ${{ needs.prepare.outputs.tag }}
25-
26-
build-and-push-container:
27-
needs: [ build-release, prepare ]
28-
uses: openconext/openconext-githubactions/.github/workflows/build-push-docker-image.yml@main
29-
with:
30-
component_name: "Stepup-gssp-example"
31-
tag: ${{ needs.prepare.outputs.tag }}

0 commit comments

Comments
 (0)