Merge pull request #2047 from aluzzardi/fix-workflow-secrets

ci: fix workflow secret names
This commit is contained in:
Gerhard Lazu 2022-04-05 18:52:11 +01:00 committed by GitHub
commit ed90287612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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