From d1d993a79f7cb13f3b86a03f98dc40e9d5c8f1c2 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 5 Apr 2022 10:47:12 -0700 Subject: [PATCH] ci: fix workflow secret names Signed-off-by: Andrea Luzzardi --- .github/workflows/release.yml | 36 +++++++++++++------------- .github/workflows/test-integration.yml | 8 +++--- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index effe4c39..a75c0584 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 78332524..e076e7c2 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -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 \ No newline at end of file + make core-integration