actions: lets try a different approach
This commit is contained in:
@@ -76,16 +76,20 @@ jobs:
|
||||
helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
|
||||
|
||||
- name: aws credential configure
|
||||
uses: https://github.com/s3-actions/s3cmd@v2.0.1
|
||||
with:
|
||||
provider: aws
|
||||
region: 'us-east-1'
|
||||
access_key: ${{ secrets.S3_ACCESS_KEY }}
|
||||
secret_key: ${{ secrets.S3_SECRET_KEY }}
|
||||
run: |
|
||||
pip install s3cmd
|
||||
cat > ~/.s3cfg << EOF
|
||||
[default]
|
||||
access_key = ${{ secrets.S3_ACCESS_KEY }}
|
||||
secret_key = ${{ secrets.S3_SECRET_KEY }}
|
||||
host_base = weyma-s3.infra.dubyatp.xyz
|
||||
host_bucket = weyma-s3.infra.dubyatp.xyz
|
||||
use_https = True
|
||||
EOF
|
||||
|
||||
- name: Copy files to S3 and clear cache
|
||||
run: |
|
||||
s3cmd sync --host weyma-s3.infra.dubyatp.xyz --recursive --acl-public gitea/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
|
||||
s3cmd sync --recursive --acl-public gitea/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
|
||||
|
||||
release-gitea:
|
||||
needs: generate-chart-publish
|
||||
|
||||
Reference in New Issue
Block a user