Skip to content

Commit

Permalink
Merge branch 'release/v1.3.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
saltbo committed Jun 8, 2020
2 parents 6caeeff + 3a072ce commit 70856af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: build
on:
push:
branches:
- develop
- master
pull_request:

Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ FROM golang:1.13
ENV APP_HOME /srv
WORKDIR $APP_HOME

ENV GOPROXY=https://goproxy.cn,direct
COPY go.* $APP_HOME/
RUN go mod download

COPY . .
RUN make build
RUN make build && cp build/bin/uptoc /usr/local/bin

COPY scripts/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ fi
echo "${ARGS} ${INPUT_DIST}"

# shellcheck disable=SC2086
/srv/build/bin/uptoc ${ARGS} ${INPUT_DIST}
uptoc ${ARGS} ${INPUT_DIST}

0 comments on commit 70856af

Please sign in to comment.