Skip to content

Commit

Permalink
upgrade go, minor dockerfile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstanley committed Aug 15, 2020
1 parent 6d4317e commit 5931dc5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with: { go-version: ^1.14 }
with: { go-version: ^1.15 }
- uses: actions/checkout@v2
- name: build
run: make build
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with: { go-version: ^1.14 }
with: { go-version: ^1.15 }
- uses: actions/checkout@v2
with: { fetch-depth: 0 }
- name: build
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

# build image
FROM golang:alpine as build
WORKDIR /build
RUN apk add --no-cache g++ make
COPY go.sum go.mod Makefile /build/
RUN make fetch
COPY . /build/
WORKDIR /build
RUN make

# runtime image
Expand Down

0 comments on commit 5931dc5

Please sign in to comment.