mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-09-17 23:05:53 +00:00
chore(build): drop AWS S3 upload from release workflow (#178)
Some checks are pending
check-and-test / check-and-test (push) Waiting to run
Some checks are pending
check-and-test / check-and-test (push) Waiting to run
Remove the AWS S3 upload steps from the release workflow, keeping Cloudflare R2 as the only object storage target. - Drop the `aws credential configure` step and the AWS-specific secrets usage. - Drop the `copy files to S3 and clear cache` step. - The awscli install is kept because the Cloudflare R2 sync still relies on it. Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/178 Reviewed-by: DaanSelen <135789+daanselen@noreply.gitea.com>
This commit is contained in:
@ -70,19 +70,6 @@ jobs:
|
||||
env:
|
||||
TAR_OPTIONS: "--wildcards"
|
||||
|
||||
- name: aws credential configure
|
||||
uses: https://github.com/aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6 # Gitea
|
||||
#uses: aws-actions/configure-aws-credentials@v6 # Github / Act
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ secrets.AWS_REGION }}
|
||||
|
||||
- name: copy files to S3 and clear cache
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
aws s3 sync actions/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
|
||||
|
||||
- name: Copy files to Cloudflare R2
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
|
||||
|
||||
Reference in New Issue
Block a user