Skip to content

Commit cf04a6d

Browse files
authored
Merge pull request #12 from weaviate/mantain_helm_charts_for_docker
Make sure the helm-charts are kept between jobs
2 parents af59c1b + c2c60f9 commit cf04a6d

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ jobs:
101101
- name: Generate operator.yaml
102102
run: make generate-operator-yaml
103103

104+
# Upload helm-charts as an artifact for the docker-build job
105+
- name: Upload Helm charts
106+
uses: actions/upload-artifact@v3
107+
with:
108+
name: helm-charts
109+
path: helm-charts/
110+
retention-days: 1
111+
104112
# Create a tag for non-draft manual releases
105113
- name: Create and push tag
106114
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.draft == false }}
@@ -155,6 +163,13 @@ jobs:
155163
with:
156164
ref: ${{ github.ref }} # Ensure we're using the tagged commit
157165

166+
# Download helm-charts artifact from the release job
167+
- name: Download Helm charts
168+
uses: actions/download-artifact@v3
169+
with:
170+
name: helm-charts
171+
path: helm-charts/
172+
158173
- name: Set version
159174
id: set_version
160175
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 0.0.3
6+
VERSION ?= 0.0.5
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

0 commit comments

Comments
 (0)