ci: fix workflow secret names

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2022-04-05 10:47:12 -07:00
parent 1577ea4adf
commit d1d993a79f
2 changed files with 21 additions and 23 deletions

View File

@ -6,7 +6,7 @@ concurrency: release
on:
push:
tags:
- v*
- v*
jobs:
release:
@ -16,20 +16,20 @@ jobs:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist --debug
env:
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
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist --debug
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_DAGGER_CI_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.RELEASE_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.RELEASE_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1

View File

@ -2,7 +2,7 @@ name: "Test Integration"
on:
push:
branches: [ main ]
branches: [main]
paths:
- "**.sh"
- "**.bash"
@ -16,7 +16,7 @@ on:
- "!docs/**"
pull_request:
branches: [ main ]
branches: [main]
paths:
- "**.sh"
- "**.bash"
@ -65,8 +65,6 @@ jobs:
uses: crazy-max/ghaction-github-runtime@v1
- name: Test
env:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
env
make core-integration
make core-integration