Skip to content

Commit

Permalink
Merge pull request #48 from colachg/dev
Browse files Browse the repository at this point in the history
Fix docker image tag
  • Loading branch information
p4gefau1t authored May 8, 2020
2 parents 86f0217 + 3ae036d commit 3005f4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: prepare
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
echo ::set-output name=version::${GITHUB_REF#refs/tags/}
else
echo ::set-output name=version::snapshot
fi
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk add --update git &&\
FROM alpine
WORKDIR /
COPY --from=builder /trojan-go/release /usr/local/bin/
COPY example/server.json /etc/trojan-go/
COPY example/server.json /etc/trojan-go/config.json

ENTRYPOINT ["/usr/local/bin/trojan-go", "-config"]
CMD ["/etc/trojan-go/server.json"]
CMD ["/etc/trojan-go/config.json"]

0 comments on commit 3005f4c

Please sign in to comment.