Skip to content

Commit a36f490

Browse files
committed
Use leafcloud s3 config
1 parent f49193c commit a36f490

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/s3-image-sync.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121

22+
- name: Write s3cmd configuration
23+
run: |
24+
echo "${{ secrets['LEAFCLOUD_S3_CFG'] }}" > ~/.s3cfg
25+
shell: bash
26+
2227
- name: Install s3cmd
2328
run: |
2429
sudo apt-get update
@@ -66,6 +71,11 @@ jobs:
6671
echo "${{ secrets[format('{0}_CLOUDS_YAML', env.CI_CLOUD)] }}" > ~/.config/openstack/clouds.yaml
6772
shell: bash
6873

74+
- name: Write s3cmd configuration
75+
run: |
76+
echo "${{ secrets['LEAFCLOUD_S3_CFG'] }}" > ~/.s3cfg
77+
shell: bash
78+
6979
- name: Install s3cmd and qemu-utils
7080
run: |
7181
sudo apt-get update

0 commit comments

Comments
 (0)