Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
haobibo committed Jul 5, 2024
1 parent 4c11af0 commit 49b8a76
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ jobs:
go test -v
go build -v -o ../../build/
cd ../../
mv src/supervisor.ini src/webgui ./build/
mv src/etc src/webgui ./build/
ls -alh build
File renamed without changes.
2 changes: 1 addition & 1 deletion src/supervisord.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM base AS builder
COPY . /tmp/src
WORKDIR /tmp/src
RUN set -eux && pwd && ls -alh \
&& mkdir -pv /opt/supervisord && mv webgui supervisor.ini /opt/supervisord/ \
&& mkdir -pv /opt/supervisord && mv webgui etc /opt/supervisord/ \
&& cd supervisord \
&& go mod tidy \
&& CGO_ENABLED=1 go build -a -ldflags "-linkmode external -extldflags -static" -o /opt/supervisord/ \
Expand Down

0 comments on commit 49b8a76

Please sign in to comment.