Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
c0c6dddb04 | |||
f661c60328 |
@ -17,7 +17,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
mkdir apigo
|
git clone -b ${{ gitea.ref_name }} "https://apigo.cc/${{ gitea.repository }}.git"
|
||||||
|
mv default apigo
|
||||||
cd apigo
|
cd apigo
|
||||||
sed -i "s/version: v0.0.1/version: ${{ gitea.ref_name }}/" apigo.yml
|
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
|
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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:latest
|
FROM apigo.cc/docker/alpine:latest
|
||||||
COPY build/apigo_linux_amd64 /usr/local/bin/apigo
|
COPY build/apigo_linux_amd64 /usr/local/bin/apigo
|
||||||
COPY main.js /app/
|
COPY main.js /app/
|
||||||
workdir /app
|
workdir /app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user