diff --git a/.gitea/workflows/docker_build.yml b/.gitea/workflows/docker_build.yml index bbf0061..63fb798 100644 --- a/.gitea/workflows/docker_build.yml +++ b/.gitea/workflows/docker_build.yml @@ -17,7 +17,8 @@ jobs: steps: - name: Build run: | - mkdir apigo + git clone -b ${{ gitea.ref_name }} "https://apigo.cc/${{ gitea.repository }}.git" + mv default apigo cd apigo sed -i "s/version: v0.0.1/version: ${{ gitea.ref_name }}/" apigo.yml sed -i "s#Hello world#please mount app in /app/main.js, example: docker run --rm -it -v /your/app:/app apigo.cc/ag/apigo#" main.js