mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-07 10:21:37 +00:00
+ Automatically generate code to add enumeration type support by@HessianZ in #1073 + Fix code generation problem in docker by@tscuite in #1067 + Fix replace the method of abandonment by@songzhibin97 in #1075 + Fix several misuses of okwithdata by@pnck in #1077 + Fix the problem that pg cannot be used in multi-library mode by@pnck in #1081 + Fixed the bug that menu jumps must be refreshed under vite2.9.9 + Added automatic code interception check for empty package + Update version from 2.5.1 to 2.5.1b
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: Docker-CICD
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out branch
|
||||
uses: actions/checkout@v2
|
||||
- name: Login to Aliyun Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ${{ secrets.ALIYUN_REGISTRY }}
|
||||
username: ${{ secrets.ALIYUN_DOCKERHUB_USER }}
|
||||
password: ${{ secrets.ALIYUN_DOCKERHUB_PASSWORD }}
|
||||
- name: Sed Config
|
||||
shell: bash
|
||||
run: |
|
||||
sed -i 's#./entrypoint.sh"#./entrypoint.sh","actions"#g' Dockerfile
|
||||
sed -i "s#COPY build/ /usr/share/nginx/html/#COPY . /opt/gva#g" Dockerfile
|
||||
sed -i 16c"\ && cd /opt/gva/server/ && go mod tidy && cd /opt/gva/web/ && yarn" Dockerfile
|
||||
sed -i "s#open: true#open: false#g" web/vite.config.js
|
||||
make images TAGS_OPT="latest"
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/gva/web:latest
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/gva/server:latest
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/gva/all:latest
|
||||
Reference in New Issue
Block a user