Skip to content

Commit 4f8753a

Browse files
authored
create GitHub release with install.yaml from release.yaml (#26)
1 parent 632b43d commit 4f8753a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release.yaml

+14-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
echo "Invalid tag format: ${GITHUB_REF_NAME}"
2727
exit 1
2828
fi
29+
echo "APPWRAPPER_VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV"
2930
3031
- name: docker login
3132
uses: docker/login-action@v2
@@ -36,4 +37,16 @@ jobs:
3637

3738
- name: Build and Push Images
3839
run: |
39-
make docker-buildx -e TAG=${GITHUB_REF_NAME} -e quay_repository=quay.io/ibm
40+
make docker-buildx -e TAG=${APPWRAPPER_VERSION} -e quay_repository=quay.io/ibm
41+
42+
- name: Create Install YAML
43+
run: |
44+
make build-installer -e TAG=${APPWRAPPER_VERSION} -e quay_repository=quay.io/ibm
45+
46+
- name: Create GitHub Release
47+
uses: softprops/action-gh-release@v1
48+
with:
49+
name: Release ${{ env.APPWRAPPER_VERSION }}
50+
fail_on_unmatched_files: true
51+
files: |
52+
./dist/install.yaml

0 commit comments

Comments
 (0)