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