diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5064f9e..ce486cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,8 +41,6 @@ jobs: - name: Set up Environment run: | - echo "SPOTIFY_CLIENT_ID=${{ secrets.SPOTIFY_CLIENT_ID }}" >> $GITHUB_ENV - echo "SPOTIFY_CLIENT_SECRET=${{ secrets.SPOTIFY_CLIENT_SECRET }}" >> $GITHUB_ENV echo "GH_TOKEN=${{ secrets.GH_TOKEN }}" >> $GITHUB_ENV - name: Build and push diff --git a/Dockerfile b/Dockerfile index 5e71047..75fce5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,7 @@ RUN \ COPY . . -ARG SPOTIFY_CLIENT_ID -ARG SPOTIFY_CLIENT_SECRET ARG GH_TOKEN -ENV SPOTIFY_CLIENT_ID=${SPOTIFY_CLIENT_ID} -ENV SPOTIFY_CLIENT_SECRET=${SPOTIFY_CLIENT_SECRET} ENV GH_TOKEN=${GH_TOKEN} ENV NEXT_TELEMETRY_DISABLED 1 @@ -42,11 +38,7 @@ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static -ARG SPOTIFY_CLIENT_ID -ARG SPOTIFY_CLIENT_SECRET ARG GH_TOKEN -ENV SPOTIFY_CLIENT_ID=${SPOTIFY_CLIENT_ID} -ENV SPOTIFY_CLIENT_SECRET=${SPOTIFY_CLIENT_SECRET} ENV GH_TOKEN=${GH_TOKEN} ENV NEXT_TELEMETRY_DISABLED 1 diff --git a/docker-compose.yml b/docker-compose.yml index 68772b8..236ea7c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,8 +7,6 @@ services: context: . dockerfile: Dockerfile args: - SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID} - SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET} GH_TOKEN: ${GH_TOKEN} ports: - "3000:3000" diff --git a/package.json b/package.json index d0c6d8e..f703fce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "links", - "version": "0.4.10", + "version": "0.4.12", "private": true, "scripts": { "dev": "next dev",