Drop containers and packages from goreleaser, in favour of breaking up the pipeline

This commit is contained in:
jamesread 2021-10-10 18:54:27 +01:00
parent 885813930f
commit be5ca3d674
1 changed files with 2 additions and 40 deletions

View File

@ -17,7 +17,7 @@ builds:
- arm
goarm:
- 7 # For old RPIs
- 5 # For old RPIs
main: cmd/OliveTin/main.go
@ -37,7 +37,7 @@ builds:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "{{ .Commit }}"
changelog:
sort: asc
filters:
@ -67,41 +67,3 @@ archives:
format_overrides:
- goos: windows
format: zip
dockers:
- image_templates:
- "docker.io/jamesread/olivetin:latest"
- "docker.io/jamesread/olivetin:{{ .Tag }}-amd64"
dockerfile: Dockerfile
goos: linux
goarch: amd64
skip_push: false
use: docker
build_flag_templates:
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Tag}}"
extra_files:
- webui
nfpms:
- maintainer: James Read <contact@jread.com>
description: OliveTin is a web interface for running Linux shell commands.
homepage: https://github.com/jamesread/OliveTin
license: AGPL-3.0
formats:
- deb
- rpm
- apk
contents:
- src: OliveTin.service
dst: /etc/systemd/system/OliveTin.service
- src: webui
dst: /var/www/olivetin/
- src: var/config.yaml
dst: /etc/OliveTin/config.yaml
type: "config|noreplace"