From d5d5b4cb3fa2db1b392436f5cae52bce3f5f762b Mon Sep 17 00:00:00 2001 From: Eugene Michkov Date: Mon, 26 Aug 2024 15:59:31 +0300 Subject: [PATCH] ci: fix --- .github/workflows/release.yml | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 934a609..fc67e02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,6 @@ jobs: - name: Set ghcr.io url run: | echo "REPO=${GITHUB_REPOSITORY@L}" >> "${GITHUB_ENV}" - echo "SPOTIFY_CLIENT_ID=${{ secrets.SPOTIFY_CLIENT_ID }}" >> .env - echo "SPOTIFY_CLIENT_SECRET=${{ secrets.SPOTIFY_CLIENT_SECRET }}" >> .env - echo "GH_TOKEN=${{ secrets.GH_TOKEN }}" >> .env - name: Docker meta id: meta @@ -45,6 +42,10 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: + secrets: | + "SPOTIFY_CLIENT_ID=${{ secrets.SPOTIFY_CLIENT_ID }}" + "SPOTIFY_CLIENT_SECRET=${{ secrets.SPOTIFY_CLIENT_SECRET }}" + "GH_TOKEN=${{ secrets.GH_TOKEN }}" push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha diff --git a/package.json b/package.json index 1a9c8a6..de25c76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "links", - "version": "4.0.0", + "version": "0.4.3", "private": true, "scripts": { "dev": "next dev",