From f67f1d514e4eae876e0835ddba15a59a0ce28be7 Mon Sep 17 00:00:00 2001 From: Wayne Starr Date: Wed, 20 Mar 2024 11:16:04 -0600 Subject: [PATCH] chore: fix the bundle creation for registry1 (#80) --- tasks/publish.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tasks/publish.yaml b/tasks/publish.yaml index bcb77470..e4249a20 100644 --- a/tasks/publish.yaml +++ b/tasks/publish.yaml @@ -25,7 +25,7 @@ tasks: # x-release-please-end - name: test-bundle - description: Build and publish the test-bundle + description: Build and publish the test bundles actions: - description: Create the ARM64 deps package task: dependencies:create @@ -37,17 +37,16 @@ tasks: with: options: -a arm64 - - description: Create the AMD64 test bundle - task: create:test-bundle - with: - options: -a amd64 - - - description: Create the ARM64 test bundle - task: create:test-bundle - with: - options: -a arm64 + - description: Create the test bundles + cmd: | + set -e + UDS_CONFIG=bundle/uds-config.yaml uds create bundle --confirm --no-progress --architecture=amd64 + if [ ${FLAVOR} != "registry1" ]; then + UDS_CONFIG=bundle/uds-config.yaml uds create bundle --confirm --no-progress --architecture=arm64 + fi + set +e - - description: Publish the bundle + - description: Publish the bundles task: publish:test-bundle with: # x-release-please-start-version