diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40a8156..c9e6cef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,11 @@ jobs: uses: sigstore/cosign-installer@main with: cosign-release: 'v1.6.0' + - uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: ${{ secrets.AWS_ROLE_ARN }} + role-session-name: gha-rskey + aws-region: us-east-1 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fc5e3ad..17776d7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -24,6 +24,10 @@ archives: format_overrides: - goos: windows format: zip +blobs: +- provider: s3 + bucket: rstudio-platform-public-artifacts + folder: "rskey/{{ .Version }}" release: draft: true header: |