Browse Source

chore: Update to Go 1.16

main
Horst Gutmann 9 months ago
parent
commit
a617670995
No known key found for this signature in database GPG Key ID: 6F203F0D220F8E98
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      .github/workflows/main.yml
  2. +2
    -2
      Dockerfile

+ 2
- 2
.github/workflows/main.yml View File

@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-go@v1.1.3
with:
go-version: "1.15.6"
go-version: "1.16.0"
- uses: actions/setup-node@v1
with:
node-version: '12'
@ -27,7 +27,7 @@ jobs:
node-version: '12'
- uses: actions/setup-go@v1.1.3
with:
go-version: "1.15.6"
go-version: "1.16.0"
- name: Create package
run: sudo bash -c "wget https://github.com/goreleaser/goreleaser/releases/download/v0.138.0/goreleaser_amd64.deb && dpkg -i goreleaser_amd64.deb && goreleaser release --snapshot"
- uses: jakejarvis/s3-sync-action@master


+ 2
- 2
Dockerfile View File

@ -1,4 +1,4 @@
FROM golang:1.14-alpine3.12 AS gobuilder
FROM golang:1.16-alpine3.13 AS gobuilder
RUN apk add --no-cache gcc libc-dev git sqlite-dev
COPY . /src
WORKDIR /src/cmd/webmentiond
@ -9,7 +9,7 @@ COPY frontend /src/frontend
WORKDIR /src/frontend
RUN yarn && yarn run webpack --mode production
FROM alpine:3.12
FROM alpine:3.13
RUN apk add --no-cache sqlite-dev
VOLUME ["/data"]
RUN adduser -u 1500 -h /data -H -D webmentiond && \


Loading…
Cancel
Save