* Go 1.15
* Remove s390x arch

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-11-13 00:03:43 +01:00
committed by GitHub
parent b1953afdae
commit 599a52af0e
7 changed files with 7 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.13
go-version: 1.15
-
name: Cache Go modules
uses: actions/cache@v2
@@ -124,7 +124,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le,linux/s390x
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
build-args: |

View File

@@ -20,7 +20,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.13
go-version: 1.15
-
name: Tidy
run: |

View File

@@ -31,7 +31,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.13
go-version: 1.15
-
name: Cache Go modules
uses: actions/cache@v2

View File

@@ -1,4 +1,4 @@
ARG GO_VERSION=1.13
ARG GO_VERSION=1.15
ARG VERSION=dev
FROM --platform=${BUILDPLATFORM:-linux/amd64} tonistiigi/xx:golang AS xgo
@@ -30,7 +30,6 @@ RUN apk --update --no-cache add \
&& rm -rf /tmp/* /var/cache/apk/*
COPY --from=build /opt/diun /usr/local/bin/diun
COPY --from=build /usr/local/go/lib/time/zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip
RUN diun --version
ENV DIUN_DB_PATH="/data/diun.db"

View File

@@ -7,6 +7,7 @@ import (
"runtime"
"strings"
"syscall"
_ "time/tzdata"
"github.com/alecthomas/kong"
"github.com/crazy-max/diun/v4/internal/app"

View File

@@ -24,7 +24,6 @@ Image: crazymax/diun:latest
- linux/arm64
- linux/386
- linux/ppc64le
- linux/s390x
```
## Volumes

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/crazy-max/diun/v4
go 1.13
go 1.15
require (
github.com/alecthomas/kong v0.2.11