From cf582e71521fdcbc320fb0c9a4a9845fab81b0ba Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 26 Oct 2022 11:54:58 +0100 Subject: [PATCH] feature: #83 - Restore Alpine packages --- .goreleaser.yml | 27 +++++++++++++++++++++++++- openrc-OliveTin => var/openrc/OliveTin | 0 2 files changed, 26 insertions(+), 1 deletion(-) rename openrc-OliveTin => var/openrc/OliveTin (100%) diff --git a/.goreleaser.yml b/.goreleaser.yml index 30444da..473e761 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -115,7 +115,8 @@ docker_manifests: - docker.io/jamesread/olivetin:{{ .Version }}-arm64 nfpms: - - maintainer: James Read + - id: default + maintainer: James Read description: OliveTin is a web interface for running Linux shell commands. homepage: https://github.com/OliveTin/OliveTin license: AGPL-3.0 @@ -138,6 +139,30 @@ nfpms: dst: /etc/OliveTin/config.yaml type: "config|noreplace" + - id: openrc + maintainer: James Read + description: OliveTin is a web interface for running Linux shell commands. + homepage: https://github.com/OliveTin/OliveTin + license: AGPL-3.0 + formats: + - apk + + bindir: /usr/local/bin/ + + file_name_template: '{{ .PackageName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}' + + contents: + - src: var/openrc/OliveTin + dst: /etc/init.d/ + + - src: webui + dst: /var/www/olivetin/ + + - src: config.yaml + dst: /etc/OliveTin/config.yaml + type: "config|noreplace" + + release: footer: | ## Container images ([on Docker Hub](https://hub.docker.com/r/jamesread/olivetin/tags?page=1&ordering=last_updated)) diff --git a/openrc-OliveTin b/var/openrc/OliveTin similarity index 100% rename from openrc-OliveTin rename to var/openrc/OliveTin