Update workflow
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 1m0s

This commit is contained in:
r-freeman 2024-08-23 15:42:31 +01:00
parent 033c0222ed
commit 8e06d97dca

View File

@ -42,17 +42,17 @@ jobs:
- name: Build Docker image
run: |
DOCKER_BUILDKIT=1 docker build --secret id=SPOTIFY_CLIENT_ID,src=.env \
--secret id=SPOTIFY_CLIENT_SECRET,src=.env \
--secret id=SPOTIFY_REFRESH_TOKEN,src=.env \
--secret id=NEXT_PUBLIC_SITE_URL,src=.env \
--secret id=GITHUB_ACCESS_TOKEN,src=.env \
--secret id=GITHUB_USERNAME,src=.env \
--secret id=GITHUB_CLIENT_ID,src=.env \
--secret id=GITHUB_SECRET,src=.env \
--secret id=NEXT_PUBLIC_SUPABASE_URL,src=.env \
--secret id=NEXT_PUBLIC_SUPABASE_ANON_KEY,src=.env \
--secret id=SUPABASE_SERVICE_ROLE_KEY,src=.env \
DOCKER_BUILDKIT=1 docker build --secret id=SPOTIFY_CLIENT_ID,env=.env \
--secret id=SPOTIFY_CLIENT_SECRET,env=.env \
--secret id=SPOTIFY_REFRESH_TOKEN,env=.env \
--secret id=NEXT_PUBLIC_SITE_URL,env=.env \
--secret id=GITHUB_ACCESS_TOKEN,env=.env \
--secret id=GITHUB_USERNAME,env=.env \
--secret id=GITHUB_CLIENT_ID,env=.env \
--secret id=GITHUB_SECRET,env=.env \
--secret id=NEXT_PUBLIC_SUPABASE_URL,env=.env \
--secret id=NEXT_PUBLIC_SUPABASE_ANON_KEY,env=.env \
--secret id=SUPABASE_SERVICE_ROLE_KEY,env=.env \
-t ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1 \
.