goreleaser: changed aws creds passing
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
b024d2ba39
commit
74b3f3acdf
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -18,15 +18,12 @@ jobs:
|
|||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.16
|
go-version: 1.16
|
||||||
- name: Configure AWS cli
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
args: release --rm-dist --debug
|
args: release --rm-dist --debug
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.DAGGERCI_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.DAGGERCI_TOKEN }}
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
AWS_REGION: us-east-1
|
||||||
|
@ -73,3 +73,6 @@ publishers:
|
|||||||
env:
|
env:
|
||||||
- PATH={{ .Env.PATH }}
|
- PATH={{ .Env.PATH }}
|
||||||
- AWS_EC2_METADATA_DISABLED=true
|
- AWS_EC2_METADATA_DISABLED=true
|
||||||
|
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
|
||||||
|
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
- AWS_REGION={{ .Env.AWS_REGION }}
|
||||||
|
Reference in New Issue
Block a user