We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7fbdaf + 540217e commit 3f3f925Copy full SHA for 3f3f925
.github/workflows/s3-image-sync.yml
@@ -0,0 +1,25 @@
1
+name: Upload CI-tested images to Arcus S3 and sync clouds
2
+on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - 'environments/.stackhpc/terraform/cluster_image.auto.tfvars.json'
9
+env:
10
+ S3_BUCKET: openhpc-images-prerelease
11
+ IMAGE_PATH: environments/.stackhpc/terraform/cluster_image.auto.tfvars.json
12
+
13
+jobs:
14
+ s3_cleanup:
15
+ runs-on: ubuntu-22.04
16
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
17
+ strategy:
18
+ fail-fast: false
19
+ steps:
20
+ - uses: actions/checkout@v2
21
22
+ - name: Write s3cmd configuration
23
+ run: |
24
+ echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
25
+ shell: bash
0 commit comments