Skip to content

Commit 4b8b392

Browse files
committed
fix: remove release of install.yaml as be use helm now
1 parent 853d9a7 commit 4b8b392

1 file changed

Lines changed: 2 additions & 40 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ on:
66
- 'v*.*.*'
77

88
jobs:
9-
release:
10-
name: Build, Push and Create Release
9+
helm-chart:
1110
runs-on: ubuntu-latest
1211
permissions:
13-
contents: write
12+
contents: read
1413
packages: write
1514

1615
steps:
@@ -25,43 +24,6 @@ jobs:
2524
with:
2625
github_token: ${{ secrets.GITHUB_TOKEN }}
2726

28-
- name: 'Create Install YAML'
29-
env:
30-
IMAGE_TAG: ${{ github.ref_name }}
31-
run: |
32-
# Extract version without 'v' prefix (e.g., v1.0.0 -> 1.0.0)
33-
VERSION=${IMAGE_TAG#v}
34-
IMAGE_NAME="ghcr.io/agentic-layer/testbench/testworkflows"
35-
36-
# Build the install.yaml and replace the image tag
37-
kustomize build deploy/base | \
38-
sed "s|${IMAGE_NAME}:latest|${IMAGE_NAME}:${VERSION}|g" > install.yaml
39-
40-
echo "Replaced image tag: ${IMAGE_NAME}:latest -> ${IMAGE_NAME}:${VERSION}"
41-
42-
- name: 'Create Release'
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
tag: ${{ github.ref_name }}
46-
run: |
47-
gh release create "$tag" \
48-
--repo="$GITHUB_REPOSITORY" \
49-
--title="${tag#v}" \
50-
--generate-notes \
51-
install.yaml
52-
53-
helm-chart:
54-
runs-on: ubuntu-latest
55-
permissions:
56-
contents: read
57-
packages: write
58-
59-
steps:
60-
- name: Checkout
61-
uses: 'actions/checkout@v6'
62-
with:
63-
fetch-depth: 0
64-
6527
- name: Install Helm
6628
uses: azure/setup-helm@v4
6729
with:

0 commit comments

Comments
 (0)