1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2024-02-04 20:03:30 -08:00
committed by GitHub
parent 6a389c78cc
commit e190adef4d
4 changed files with 6 additions and 6 deletions

View File

@@ -14,8 +14,8 @@ jobs:
strategy: strategy:
matrix: matrix:
go: go:
- '1.21'
- '1.20' - '1.20'
- '1.19'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@@ -52,7 +52,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: '1.20' go-version: '1.21'
- name: Build - name: Build
run: go build ./... run: go build ./...

View File

@@ -20,7 +20,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: '1.20' go-version: '1.21'
check-latest: true check-latest: true
- name: Setup Node.js - name: Setup Node.js

View File

@@ -12,7 +12,7 @@ RUN yarn install --frozen-lockfile --non-interactive
RUN yarn run build RUN yarn run build
### Build backend ### Build backend
FROM golang:1.20-alpine3.18 as backend FROM golang:1.21-alpine3.19 as backend
RUN apk add --no-cache --virtual .build-deps g++ git make RUN apk add --no-cache --virtual .build-deps g++ git make
WORKDIR /build WORKDIR /build
COPY . . COPY . .
@@ -23,7 +23,7 @@ RUN go build -o inbucket \
-v ./cmd/inbucket -v ./cmd/inbucket
### Run in minimal image ### Run in minimal image
FROM alpine:3.18 FROM alpine:3.19
RUN apk --no-cache add tzdata RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket WORKDIR /opt/inbucket
RUN mkdir bin defaults ui RUN mkdir bin defaults ui

View File

@@ -22,7 +22,7 @@ pkgs.mkShell {
elmPackages.elm-json elmPackages.elm-json
elmPackages.elm-language-server elmPackages.elm-language-server
elmPackages.elm-test elmPackages.elm-test
go_1_20 go_1_21
golint golint
gopls gopls
nodejs_18 nodejs_18