Skip to content

Commit 3c624da

Browse files
authored
Merge pull request #145 from redpanda-data/ivotron/add-acl-to-s3-push
ci: add `--acl` flag to `aws s3 cp`
2 parents 3b204f6 + dcbccef commit 3c624da

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@ jobs:
3232
- name: Upload to S3 bucket
3333
if: github.event_name == 'push'
3434
run: |
35-
aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz
35+
aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz --acl public-read
36+
37+
- name: Upload to S3 bucket (dry-run)
38+
if: github.event_name != 'push'
39+
run: |
40+
aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz --acl public-read --dryrun

0 commit comments

Comments
 (0)