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
|
helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
|
||||||
|
|
||||||
- name: aws credential configure
|
- name: aws credential configure
|
||||||
uses: https://github.com/s3-actions/s3cmd@v2.0.1
|
run: |
|
||||||
with:
|
pip install s3cmd
|
||||||
provider: aws
|
cat > ~/.s3cfg << EOF
|
||||||
region: 'us-east-1'
|
[default]
|
||||||
access_key: ${{ secrets.S3_ACCESS_KEY }}
|
access_key = ${{ secrets.S3_ACCESS_KEY }}
|
||||||
secret_key: ${{ secrets.S3_SECRET_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
|
- name: Copy files to S3 and clear cache
|
||||||
run: |
|
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:
|
release-gitea:
|
||||||
needs: generate-chart-publish
|
needs: generate-chart-publish
|
||||||
|
|||||||
Reference in New Issue
Block a user