From f854e1a058759db9bd4f63fffc9b0a2a3eff5f7d Mon Sep 17 00:00:00 2001 From: Nik Rozman Date: Thu, 24 Apr 2025 20:42:47 +0200 Subject: [PATCH] Update .github/workflows/build_prepare.yaml --- .github/workflows/build_prepare.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_prepare.yaml b/.github/workflows/build_prepare.yaml index 2c4bd96..ac76f82 100644 --- a/.github/workflows/build_prepare.yaml +++ b/.github/workflows/build_prepare.yaml @@ -69,9 +69,20 @@ jobs: - name: Setup MinIO client uses: yakubique/setup-minio-cli@v1 - - name: Configure MinIO client + - name: Debug Secrets Presence run: | - mc alias set s3piskot https://s3.piskot.si "${{ secrets.S3_AK }}" "${{ secrets.S3_SK }}" + echo "S3_AK: ${S3_AK:0:4}****" + echo "S3_SK: ${S3_SK:0:4}****" + env: + S3_AK: ${{ secrets.S3_AK }} + S3_SK: ${{ secrets.S3_SK }} + + - name: Configure MinIO client + env: + S3_AK: ${{ secrets.S3_AK }} + S3_SK: ${{ secrets.S3_SK }} + run: | + mc alias set s3piskot https://s3.piskot.si "$S3_AK" "$S3_SK" if ! mc alias list | grep -q "s3piskot"; then echo "Error: Failed to set S3 alias" exit 1