Compare commits
1 Commits
8f46ab5546
...
v0.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
| c194f4956d |
@@ -1,70 +0,0 @@
|
||||
version: 2
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
builds:
|
||||
- id: distrohop
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
binary: distrohop
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
- '386'
|
||||
- arm64
|
||||
- arm
|
||||
- riscv64
|
||||
archives:
|
||||
- files:
|
||||
- distrohop.service
|
||||
nfpms:
|
||||
- id: distrohop
|
||||
description: "A utility for correlating and identifying equivalent software packages across different Linux distributions"
|
||||
homepage: 'https://gitea.elara.ws/Elara6331/distrohop'
|
||||
maintainer: 'Elara Ivy <elara@elara.ws>'
|
||||
license: AGPLv3
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
- archlinux
|
||||
provides:
|
||||
- distrohop
|
||||
conflicts:
|
||||
- distrohop
|
||||
contents:
|
||||
- src: distrohop.service
|
||||
dst: /etc/systemd/system/distrohop.service
|
||||
aurs:
|
||||
- name: distrohop-bin
|
||||
homepage: 'https://gitea.elara.ws/Elara6331/distrohop'
|
||||
description: "A utility for correlating and identifying equivalent software packages across different Linux distributions"
|
||||
maintainers:
|
||||
- 'Elara Ivy <elara@elara.ws>'
|
||||
license: AGPLv3
|
||||
private_key: '{{ .Env.AUR_KEY }}'
|
||||
git_url: 'ssh://aur@aur.archlinux.org/distrohop-bin.git'
|
||||
provides:
|
||||
- distrohop
|
||||
conflicts:
|
||||
- distrohop
|
||||
package: |-
|
||||
# binaries
|
||||
install -Dm755 ./distrohop "${pkgdir}/usr/bin/distrohop"
|
||||
|
||||
# services
|
||||
install -Dm644 ./distrohop.service "${pkgdir}/etc/systemd/system/distrohop.service"
|
||||
release:
|
||||
gitea:
|
||||
owner: Elara6331
|
||||
name: distrohop
|
||||
gitea_urls:
|
||||
api: 'https://gitea.elara.ws/api/v1/'
|
||||
download: 'https://gitea.elara.ws'
|
||||
skip_tls_verify: false
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ incpatch .Version }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
@@ -40,7 +40,7 @@ steps:
|
||||
event: tag
|
||||
|
||||
- name: release
|
||||
image: gitea.elara.ws/elara6331/woodpecker-release:0.2.3
|
||||
image: gitea.elara.ws/elara6331/woodpecker-release
|
||||
settings:
|
||||
title: "Version ${CI_COMMIT_TAG##v}"
|
||||
files:
|
||||
|
||||
@@ -3,9 +3,15 @@ labels:
|
||||
|
||||
steps:
|
||||
- name: manifest
|
||||
image: mplatform/manifest-tool
|
||||
image: gcr.io/go-containerregistry/crane:debug
|
||||
entrypoint: ["/busybox/sh", "-c", "echo $CI_SCRIPT | base64 -d | /busybox/sh -e"]
|
||||
commands:
|
||||
- manifest-tool push from-args --platforms linux/amd64,linux/arm64 --template gitea.elara.ws/elara6331/distrohop:ARCH --tags ${CI_COMMIT_TAG} --target gitea.elara.ws/elara6331/distrohop:latest
|
||||
- crane auth login -u elara6331 -p $REGISTRY_TOKEN gitea.elara.ws
|
||||
- crane index append -m gitea.elara.ws/elara6331/distrohop:amd64 -m gitea.elara.ws/elara6331/distrohop:arm64 -t gitea.elara.ws/elara6331/distrohop:latest
|
||||
- crane index append -m gitea.elara.ws/elara6331/distrohop:amd64 -m gitea.elara.ws/elara6331/distrohop:arm64 -t gitea.elara.ws/elara6331/distrohop:${CI_COMMIT_TAG}
|
||||
environment:
|
||||
REGISTRY_TOKEN:
|
||||
from_secret: gitea_token
|
||||
when:
|
||||
- event: tag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user