Compare commits

...

2 Commits
v0.0.3 ... main

Author SHA1 Message Date
c0c6dddb04 test ci
All checks were successful
Build apigo / build (push) Successful in 1m48s
2025-08-03 18:44:41 +08:00
f661c60328 test ci
Some checks failed
Build apigo / build (push) Failing after 3m43s
2025-08-03 18:38:30 +08:00
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM alpine:latest
FROM apigo.cc/docker/alpine:latest
COPY build/apigo_linux_amd64 /usr/local/bin/apigo
COPY main.js /app/
workdir /app