1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Build with Go 1.18

This commit is contained in:
James Hillyerd
2022-07-04 16:23:06 -07:00
parent a10a6244c9
commit 03cc31fb70
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.17', '1.16' ]
go: [ '1.18', '1.17' ]
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@v2

View File

@@ -14,7 +14,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Setup Node.js
uses: actions/setup-node@v3
with:

View File

@@ -11,7 +11,7 @@ RUN yarn install --frozen-lockfile --non-interactive
RUN yarn run build
### Build backend
FROM golang:1.17-alpine3.14 as backend
FROM golang:1.18-alpine3.16 as backend
RUN apk add --no-cache --virtual .build-deps g++ git make
WORKDIR /build
COPY . .
@@ -22,7 +22,7 @@ RUN go build -o inbucket \
-v ./cmd/inbucket
### Run in minimal image
FROM alpine:3.14
FROM alpine:3.16
RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket
RUN mkdir bin defaults ui