ci(gha): Map credentials 28/43828/1
authorPeter Mikus <[email protected]>
Fri, 3 Oct 2025 07:40:44 +0000 (09:40 +0200)
committerPeter Mikus <[email protected]>
Fri, 3 Oct 2025 07:40:44 +0000 (09:40 +0200)
Signed-off-by: Peter Mikus <[email protected]>
Change-Id: I39abff68f9a6fb91e507a82ec3ed56c8f4b20061

.github/actions/aws_s3_publish_logs/action.yml
.github/workflows/gerrit-csit-tox-verify.yml

index e16810d..97bf253 100644 (file)
@@ -68,6 +68,13 @@ runs:
         sudo ./aws/install --update
         rm -rf ./aws
 
+    - name: Configure AWS Credentials
+      uses: aws-actions/[email protected]
+      with:
+        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+        aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+        aws-region: ${{ vars.AWS_REGION }}
+
     - name: Upload archives directory content to S3
       shell: bash
       run: |
index 2699e4b..eb50d0f 100644 (file)
@@ -99,3 +99,5 @@ jobs:
       - name: AWS S3 Publish Logs
         if: always()
         uses: fdio/csit/.github/actions/aws_s3_publish_logs@master
+        with:
+          S3_BUCKET: ${{ vars.S3_BUCKET }}
\ No newline at end of file