From 6eaeb96296294b6d4086f96f2f3b6507a009300b Mon Sep 17 00:00:00 2001 From: Stacky McStackface <95074132+stackable-bot@users.noreply.github.com> Date: Wed, 24 Jul 2024 12:40:17 +0200 Subject: [PATCH] Generated commit to update templated files based on rev 09389cb in stackabletech/operator-templating repo. (#434) Triggered by: Manual run triggered by: Maleware with message [Updating release pipeline to only build helmcharts once] --- .github/pull_request_template.md | 4 ++-- .github/workflows/build.yml | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 68133283..034d32d3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -11,7 +11,7 @@ # Author - [ ] Changes are OpenShift compatible - [ ] CRD changes approved -- [ ] CRD documentation for all fields, following the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs-style-guide). +- [ ] CRD documentation for all fields, following the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs/style-guide). - [ ] Helm chart can be installed and deployed operator works - [ ] Integration tests passed (for non trivial changes) - [ ] Changes need to be "offline" compatible @@ -22,7 +22,7 @@ - [ ] Code contains useful comments - [ ] Code contains useful logging statements - [ ] (Integration-)Test cases added -- [ ] Documentation added or updated. Follows the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs-style-guide). +- [ ] Documentation added or updated. Follows the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs/style-guide). - [ ] Changelog updated - [ ] Cargo.toml only contains references to git tags (not specific commits or branches) ``` diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf0c4686..c779094d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -368,7 +368,13 @@ jobs: make -e build - name: Publish Docker image and Helm chart if: ${{ !github.event.pull_request.head.repo.fork }} - run: make -e publish + run: | + # We want to publish helmcharts only once as they have a common name, while still publishing both images with architecture specific tags + if [ "$(uname -m)" = "x86_64" ]; then + make -e publish + else + make -e docker-publish + fi # Output the name of the published image to the Job output for later use - id: printtag name: Output image name and tag