mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 19:05:41 +00:00
Update workflow
This commit is contained in:
parent
c91560869f
commit
d4c5abe5f4
@ -32,29 +32,13 @@ jobs:
|
|||||||
[registry."docker.io"]
|
[registry."docker.io"]
|
||||||
mirrors = ["mirror.gcr.io"]
|
mirrors = ["mirror.gcr.io"]
|
||||||
|
|
||||||
# - name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
# uses: https://github.com/docker/build-push-action@v6
|
uses: https://github.com/docker/build-push-action@v6
|
||||||
# with:
|
with:
|
||||||
# context: .
|
context: .
|
||||||
# file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
# push: true
|
push: true
|
||||||
# tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
||||||
|
|
||||||
- name: Build Docker image
|
|
||||||
run: |
|
|
||||||
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 \
|
|
||||||
-t ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1 \
|
|
||||||
.
|
|
||||||
|
|
||||||
- name: Push the Docker image
|
- name: Push the Docker image
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user