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

View File

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