DONE: fix error on gold display is not showing on display tv
This commit is contained in:
@@ -124,10 +124,16 @@ jobs:
|
||||
TAGS="${TAGS} -t ${IMAGE}:${{ gitea.ref_name }}"
|
||||
fi
|
||||
|
||||
GOLD_PRICE_URL="${{ secrets.VITE_GOLD_PRICE_URL }}"
|
||||
if [ -z "${GOLD_PRICE_URL}" ]; then
|
||||
GOLD_PRICE_URL="https://apiujrah.erahn.com.my/api/harga_emas"
|
||||
fi
|
||||
|
||||
echo "Building and pushing teller: ${TAGS}"
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--build-arg VITE_API_URL="${API_URL}" \
|
||||
--build-arg VITE_GOLD_PRICE_URL="${GOLD_PRICE_URL}" \
|
||||
--cache-from type=registry,ref=${IMAGE}:buildcache,ignore-error=true \
|
||||
--cache-to type=registry,ref=${IMAGE}:buildcache,mode=max \
|
||||
-f fe/web/teller-app/Dockerfile \
|
||||
|
||||
Reference in New Issue
Block a user