feat: added backend/frontend to buildx
This commit is contained in:
parent
f4a96db942
commit
e2a9bcbc93
1 changed files with 7 additions and 2 deletions
|
|
@ -1,2 +1,7 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export BACKEND_API_BASE_URL="http://127.0.0.1:8080"
|
||||
|
||||
docker buildx build --platform linux/amd64 -t meowgit.nekoea.red/nihonium/forgejo-runner:latest -f ./Dockerfiles/Dockerfile_forgejo-runner . --push
|
||||
docker buildx build --build-arg VITE_BACKEND_API_BASE_URL=${BACKEND_API_BASE_URL} --platform linux/amd64 -t meowgit.nekoea.red/nihonium/nyanimedb-frontend:latest -f .\Dockerfiles\Dockerfile_frontend . --push
|
||||
docker buildx build --platform linux/amd64 -t meowgit.nekoea.red/nihonium/nyanimedb-backend:latest -f .\Dockerfiles\Dockerfile_backend . --push
|
||||
Loading…
Add table
Add a link
Reference in a new issue