mirror of
https://github.com/flant/ovpn-admin.git
synced 2026-02-04 09:12:13 -08:00
Compare commits
4 Commits
63c6b3f70e
...
0f866ab7a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f866ab7a6 | ||
|
|
83e74ec351 | ||
|
|
711bd120b9 | ||
|
|
29c68e74fe |
2
.github/workflows/publish-tag.yaml
vendored
2
.github/workflows/publish-tag.yaml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
goarch: ["386", "amd64"]
|
goarch: ["386", "amd64"]
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: build binaries
|
- name: build binaries
|
||||||
uses: wangyoucao577/go-release-action@v1.53
|
uses: wangyoucao577/go-release-action@v1.53
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/release_arm.yaml
vendored
2
.github/workflows/release_arm.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
goarch: ["arm", "arm64"]
|
goarch: ["arm", "arm64"]
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: build binaries
|
- name: build binaries
|
||||||
uses: wangyoucao577/go-release-action@v1.53
|
uses: wangyoucao577/go-release-action@v1.53
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -2,7 +2,7 @@ FROM node:16-alpine3.15 AS frontend-builder
|
|||||||
COPY ../frontend /app
|
COPY ../frontend /app
|
||||||
RUN apk add --update python3 make g++ && cd /app && npm install && npm run build
|
RUN apk add --update python3 make g++ && cd /app && npm install && npm run build
|
||||||
|
|
||||||
FROM golang:1.23.6-bullseye AS backend-builder
|
FROM golang:1.24.1-bullseye AS backend-builder
|
||||||
RUN go install github.com/gobuffalo/packr/v2/packr2@latest
|
RUN go install github.com/gobuffalo/packr/v2/packr2@latest
|
||||||
COPY --from=frontend-builder /app/static /app/frontend/static
|
COPY --from=frontend-builder /app/static /app/frontend/static
|
||||||
COPY .. /app
|
COPY .. /app
|
||||||
|
|||||||
2
start.sh
2
start.sh
@ -1,3 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# About 'docker compose' and 'docker-compose'
|
||||||
|
# We are using Docker Compose in plugin mode with Docker. For more details, see: https://docs.docker.com/compose/install/linux/. If you need to use the standalone Docker Compose, you can modify the command `docker compose` to `docker-compose` accordingly.
|
||||||
docker compose -p openvpn-master up -d --build
|
docker compose -p openvpn-master up -d --build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user