Skip to content

Commit c831306

Browse files
authored
chore(ci): fix release pipeline (#1153)
* chore(ci): fix release pipeline * f
1 parent 9df0bad commit c831306

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/release-prod.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ jobs:
187187
AWS_REGION: "us-east-1"
188188
run: |
189189
export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
190+
mkdir -p operator/build
190191
echo "${{ needs.publish-operator-image.outputs.image }}" > "operator/build/image-$EC_VERSION"
191192
192193
./scripts/ci-upload-binaries.sh
@@ -199,6 +200,7 @@ jobs:
199200
AWS_REGION: "us-east-1"
200201
run: |
201202
export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
203+
mkdir -p operator/build
202204
echo "${{ needs.publish-operator-image.outputs.image }}" > "operator/build/image-$EC_VERSION"
203205
204206
./scripts/ci-upload-binaries.sh

scripts/ci-build-bin.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ K0S_VERSION=${K0S_VERSION:-}
1010
S3_BUCKET="${S3_BUCKET:-dev-embedded-cluster-bin}"
1111
USES_DEV_BUCKET=${USES_DEV_BUCKET:-1}
1212
IMAGES_REGISTRY_SERVER=${IMAGES_REGISTRY_SERVER:-ttl.sh}
13+
ARCH=${ARCH:-$(go env GOARCH)}
1314

1415
if [ "$USES_DEV_BUCKET" == "1" ]; then
1516
require S3_BUCKET "${S3_BUCKET:-}"

scripts/ci-upload-binaries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ AWS_REGION="${AWS_REGION:-us-east-1}"
1111
S3_BUCKET="${S3_BUCKET:-dev-embedded-cluster-bin}"
1212
UPLOAD_BINARIES=${UPLOAD_BINARIES:-1}
1313
MANGLE_METADATA=${MANGLE_METADATA:-0}
14+
ARCH=${ARCH:-$(go env GOARCH)}
1415

1516
require AWS_ACCESS_KEY_ID "${AWS_ACCESS_KEY_ID}"
1617
require AWS_SECRET_ACCESS_KEY "${AWS_SECRET_ACCESS_KEY}"

0 commit comments

Comments
 (0)