From fff5e0fed4e575c210a50607697f0b2ba532ff8e Mon Sep 17 00:00:00 2001 From: Phoenix Isaac Pereira Date: Thu, 6 Jun 2024 12:53:51 +0930 Subject: [PATCH] chore(ci): Remove env vars when building docker image --- .github/workflows/ci-dev-pr.yml | 6 ------ .github/workflows/production.yml | 1 - 2 files changed, 7 deletions(-) diff --git a/.github/workflows/ci-dev-pr.yml b/.github/workflows/ci-dev-pr.yml index 87cc0e6..d615c76 100644 --- a/.github/workflows/ci-dev-pr.yml +++ b/.github/workflows/ci-dev-pr.yml @@ -13,17 +13,11 @@ jobs: needs: lint-format name: Build runs-on: ubuntu-latest - environment: Development steps: - name: Checkout repository uses: actions/checkout@v4 - name: Build Docker container - env: - GUILD_ID: ${{ secrets.GUILD_ID }} - BOT_TOKEN: ${{ secrets.BOT_TOKEN }} run: | docker buildx build \ - --secret id=GUILD_ID \ - --secret id=BOT_TOKEN \ --file=Dockerfile -t duckbot . diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index c1d964d..a933f6b 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -16,7 +16,6 @@ jobs: needs: lint-format name: Build runs-on: [self-hosted, ARM64] # Since deployment is on arm64 - environment: Production permissions: id-token: write contents: read