修改打包脚本
continuous-integration/drone/push Build is failing Details

This commit is contained in:
giaogiao 2023-09-25 17:24:25 +08:00
parent c28dbea1a9
commit 5dba43cabc
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ steps:
- yarn build - yarn build
- name: build - name: build
image: go:1.21.0-bullseye image: golang:bullseye
volumes: volumes:
- name: outdir - name: outdir
path: /root/web path: /root/web
@ -44,7 +44,7 @@ steps:
- sed -i 's?/favicon.ico?/static/favicon.ico?g' ./app/index.html - sed -i 's?/favicon.ico?/static/favicon.ico?g' ./app/index.html
- sed -i 's?/logo192.png?/static/logo192.png?g' ./app/index.html - sed -i 's?/logo192.png?/static/logo192.png?g' ./app/index.html
- sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html - sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html
- apt update -y && apt install build-essential -y - apt update -y && apt install glibc-static build-essential -y
- bash bulid.sh - bash bulid.sh
- name: 打包Docker镜像并推送 - name: 打包Docker镜像并推送