Update .github/workflows/build_prepare.yaml
This commit is contained in:
15
.github/workflows/build_prepare.yaml
vendored
15
.github/workflows/build_prepare.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user