Skip to content

Commit a02602b

Browse files
authored
Prepare for initial official release (#20)
- Creates the CHANGELOG - Updates the release workflow Signed-off-by: Andrew Harding <[email protected]>
1 parent 9f81353 commit a02602b

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/release_build.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
docker tag ghcr.io/spiffe/spire-controller-manager:devel ghcr.io/spiffe/spire-controller-manager:nightly
4141
(cd demo; ./test.sh)
42-
publish-image:
42+
publish-image-and-release:
4343
needs: [test-image]
4444
runs-on: ubuntu-latest
4545
steps:
@@ -64,3 +64,14 @@ jobs:
6464
password: ${{ secrets.GITHUB_TOKEN }}
6565
- name: Push image
6666
run: ./.github/workflows/scripts/push-images.sh "${GITHUB_REF#refs/tags/v}"
67+
- name: Create Release
68+
env:
69+
# GH_REPO is required for older releases of `gh`. Until we're
70+
# reasonably confident that that the gh release is new enough,
71+
# set GH_REPO to the repository to create the release in.
72+
#
73+
# See https://github.com/cli/cli/issues/3556
74+
GH_REPO: ${{ github.repository }}
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
# Create the release using the version number as the title
77+
run: gh release create "${GITHUB_REF#refs/tags/}" --title "${GITHUB_REF#refs/tags/}"

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## [0.1.0] - 2022-05-16
4+
5+
First official release! The SPIRE controller manager supports:
6+
- Registering workloads using the ClusterSPIFFEID custom resource
7+
- Establishing federation relationships with foreign trust domains using the ClusterFederatedTrustDomain resource
8+
- Full management of the Validating Admission Controller webhook credentials

0 commit comments

Comments
 (0)