|
@@ -17,7 +17,7 @@ builds:
|
|
|
- arm
|
|
- arm
|
|
|
|
|
|
|
|
goarm:
|
|
goarm:
|
|
|
- - 7 # For old RPIs
|
|
|
|
|
|
|
+ - 5 # For old RPIs
|
|
|
|
|
|
|
|
main: cmd/OliveTin/main.go
|
|
main: cmd/OliveTin/main.go
|
|
|
|
|
|
|
@@ -37,7 +37,7 @@ builds:
|
|
|
checksum:
|
|
checksum:
|
|
|
name_template: 'checksums.txt'
|
|
name_template: 'checksums.txt'
|
|
|
snapshot:
|
|
snapshot:
|
|
|
- name_template: "{{ .Tag }}-next"
|
|
|
|
|
|
|
+ name_template: "{{ .Commit }}"
|
|
|
changelog:
|
|
changelog:
|
|
|
sort: asc
|
|
sort: asc
|
|
|
filters:
|
|
filters:
|
|
@@ -67,41 +67,3 @@ archives:
|
|
|
format_overrides:
|
|
format_overrides:
|
|
|
- goos: windows
|
|
- goos: windows
|
|
|
format: zip
|
|
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"
|
|
|