Skip to content

Commit 403675a

Browse files
authored
slim down release
1 parent 0e31120 commit 403675a

File tree

2 files changed

+4
-62
lines changed

2 files changed

+4
-62
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -47,65 +47,5 @@ jobs:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
run: build/release.sh $GH_TAG
4949

50-
# # # # # # # # # # # # # # # # #
51-
# Update Helm Chart
52-
# # # # # # # # # # # # # # # # #
53-
update-helm-chart-version:
54-
name: Update Helm Chart Version
55-
runs-on: ubuntu-latest
56-
steps:
57-
- uses: actions/checkout@v4
58-
- name: Update Chart
59-
# https://github.com/marketplace/actions/github-push
60-
run: |
61-
CAPTURE_GROUP="appVersion:\ \"v[0-9]\+\.[0-9]\+\.[0-9]\+\""
62-
REPLACEMENT="appVersion\:\ \"$GH_TAG\""
63-
echo "Updating Piko Helm Chart to Version $GH_TAG"
64-
sed -i'' "s/$CAPTURE_GROUP/$REPLACEMENT/" $GITHUB_WORKSPACE/operations/helm/piko/Chart.yaml
65-
git config user.name "github-actions[bot]"
66-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
67-
git commit -am "[bot] bump helm chart to version $GH_TAG"
68-
git push origin HEAD:main
6950

70-
# # # # # # # # # # # # # # # # #
71-
# Build & Publish Containers
72-
# # # # # # # # # # # # # # # # #
73-
docker-containers:
74-
name: Build & Publish Containers
75-
runs-on: ubuntu-latest
76-
permissions:
77-
packages: write
78-
contents: read
79-
steps:
80-
- name: Check out the repo
81-
uses: actions/checkout@v4
82-
83-
- name: Set up QEMU
84-
uses: docker/setup-qemu-action@v3
85-
86-
- name: Set up Docker Buildx
87-
uses: docker/setup-buildx-action@v3
88-
89-
- name: Login to GHCR
90-
uses: docker/login-action@v3
91-
with:
92-
registry: ghcr.io
93-
username: ${{ github.repository_owner }}
94-
password: ${{ secrets.GITHUB_TOKEN }}
95-
96-
- name: Configure Docker Tags
97-
# https://github.com/docker/metadata-action
98-
id: meta
99-
uses: docker/metadata-action@v5
100-
with:
101-
images: ghcr.io/${{github.actor}}/piko
102-
103-
- name: Build and push
104-
uses: docker/build-push-action@v6
105-
with:
106-
context: .
107-
build-args: version=${{github.ref_name}}
108-
file: build/Dockerfile
109-
platforms: linux/arm64,linux/amd64
110-
push: true
111-
tags: ${{ steps.meta.outputs.tags }}
51+

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ For Transcend-folk:
44
- it's probs best to reset hard to the fork head before new changes
55
- bump the version in operations/helm/piko/Chart.yaml to the version you want
66
- builds are triggered when you open a PR or push to main
7-
- releases are triggered on pushes to git tags starting with `v`
7+
- releases are triggered on pushes to git tags starting with `v`. Run something like `git tag v0.8.2 && git push origin v0.8.2` making sure to update the version in both places
8+
9+
We've slimmed down the release workflow to only release the linux binaries

0 commit comments

Comments
 (0)