Skip to content

Commit 3100010

Browse files
author
Matt Pryor
committed
Add support for publishing manifests
1 parent 59f0823 commit 3100010

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish-release.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
env:
1010
REGISTRY: ghcr.io/stackhpc
1111
TAG: ${{ github.ref_name }}
12+
RELEASE_ALIAS_TAG: ${{ github.ref_name }}
1213

1314
jobs:
1415
build_push_images:
@@ -30,3 +31,19 @@ jobs:
3031

3132
- name: Push images
3233
run: make docker-push-all
34+
35+
build_push_manifests:
36+
name: Build and public manifests
37+
runs-on: ubuntu-latest
38+
# Only build and push the chart if the images built successfully
39+
needs: [build_push_images]
40+
steps:
41+
- name: Check out the repository
42+
uses: actions/checkout@v2
43+
44+
- name: Generate manifest
45+
run: make staging-manifests
46+
47+
- name: Publish release
48+
uses: softprops/action-gh-release@v1
49+
files: ./infrastructure-components.yaml

0 commit comments

Comments
 (0)