From af5889a04de205650c7b79d34c508bd05be8aea4 Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 17 Nov 2021 20:42:57 +0000 Subject: [PATCH] Refining the docker images --- .goreleaser.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8e92ac2..3da1587 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,8 @@ project_name: OliveTin before: hooks: - - go mod tidy + - go mod download + - rm -rf webui/node_modules builds: - env: - CGO_ENABLED=0 @@ -16,7 +17,7 @@ builds: - arm goarm: - - 5 # For old RPIs + - 7 # For old RPIs main: cmd/OliveTin/main.go @@ -105,7 +106,7 @@ dockers: - "docker.io/jamesread/olivetin:{{ .Tag }}-armv7" dockerfile: Dockerfile goos: linux - goarm: 5 + goarm: 7 goarch: arm skip_push: false use: docker @@ -124,6 +125,12 @@ docker_manifests: - docker.io/jamesread/olivetin:{{ .Version }}-arm64 - docker.io/jamesread/olivetin:{{ .Version }}-armv7 + - name_template: docker.io/jamesread/olivetin:latest + image_templates: + - docker.io/jamesread/olivetin:{{ .Version }}-amd64 + - docker.io/jamesread/olivetin:{{ .Version }}-arm64 + - docker.io/jamesread/olivetin:{{ .Version }}-armv7 + nfpms: - maintainer: James Read description: OliveTin is a web interface for running Linux shell commands.