Skip to content

Commit

Permalink
update: actions & build
Browse files Browse the repository at this point in the history
  • Loading branch information
kainonly committed Aug 15, 2023
1 parent 8d5b333 commit d89f35a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
go-version: ~1.21
- run: |
go mod tidy
go build -o dist/excel ./excel
go build -o dist/schedule ./schedule
go build -o dist/worker ./worker
go build -o excel/main ./excel
go build -o schedule/main ./schedule
go build -o worker/main ./worker
env:
CGO_ENABLED: 0
GO111MODULE: on
Expand Down
2 changes: 1 addition & 1 deletion excel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:edge

RUN apk add tzdata

COPY ./dist/excel /app/main
COPY main /app/main
WORKDIR /app

EXPOSE 9000
Expand Down
2 changes: 1 addition & 1 deletion schedule/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:edge

RUN apk add tzdata

COPY ./dist/main /app/schedule
COPY main /app/main
WORKDIR /app

CMD [ "./main" ]
2 changes: 1 addition & 1 deletion worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:edge

RUN apk add tzdata

COPY ./dist/worker /app/main
COPY main /app/main
WORKDIR /app

CMD [ "./main" ]

0 comments on commit d89f35a

Please sign in to comment.