From 30de11b9fcab85c306c35d71075799acf3556fe8 Mon Sep 17 00:00:00 2001 From: i0n Date: Thu, 21 Nov 2024 00:19:47 +0000 Subject: [PATCH] fix: switch to GITHUB_TOKEN for releases --- .github/workflows/docker.yml | 2 +- .github/workflows/gen-binaries.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d4028ab..69e42ee 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -45,7 +45,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.DOCKER_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v4 diff --git a/.github/workflows/gen-binaries.yml b/.github/workflows/gen-binaries.yml index 534c19f..3af95a2 100644 --- a/.github/workflows/gen-binaries.yml +++ b/.github/workflows/gen-binaries.yml @@ -33,7 +33,7 @@ jobs: - name: Upload Ubuntu binary uses: actions/upload-release-asset@v1.0.1 env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} asset_path: ./target/release/subgraph-radio