actions: update for my environment
This commit is contained in:
@@ -46,18 +46,13 @@ jobs:
|
||||
apt update --yes
|
||||
apt install --yes python3 python3-pip apt-transport-https docker-ce-cli
|
||||
|
||||
- name: Install awscli
|
||||
run: |
|
||||
pip install awscli --break-system-packages
|
||||
aws --version
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: https://github.com/crazy-max/ghaction-import-gpg@v6
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
|
||||
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
|
||||
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
|
||||
fingerprint: CCCDAD206FCE593128D2C7A22781E520334944DD
|
||||
|
||||
- name: Add Artifacthub.io annotations
|
||||
run: |
|
||||
@@ -86,15 +81,16 @@ jobs:
|
||||
helm registry logout registry-1.docker.io
|
||||
|
||||
- name: aws credential configure
|
||||
uses: https://github.com/aws-actions/configure-aws-credentials@v5
|
||||
uses: https://github.com/s3-actions/s3cmd@v2.0.1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ secrets.AWS_REGION }}
|
||||
provider: aws
|
||||
region: 'us-east-1'
|
||||
access_key: ${{ secrets.S3_ACCESS_KEY }}
|
||||
secret_key: ${{ secrets.S3_SECRET_KEY }}
|
||||
|
||||
- name: Copy files to S3 and clear cache
|
||||
run: |
|
||||
aws s3 sync gitea/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
|
||||
s3cmd sync --host https://weyma-s3.infra.dubyatp.xyz --recursive --acl-public gitea/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
|
||||
|
||||
release-gitea:
|
||||
needs: generate-chart-publish
|
||||
|
||||
Reference in New Issue
Block a user