Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit b1adf2a

Browse files
committed
Added gopass
1 parent c2ae294 commit b1adf2a

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

renovate.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2081,6 +2081,17 @@
20812081
"* */4 * * *"
20822082
]
20832083
},
2084+
{
2085+
"matchFiles": [
2086+
"^tools/gopass/manifest.yaml$"
2087+
],
2088+
"matchPackageNames": [
2089+
"gopasspw/gopass"
2090+
],
2091+
"schedule": [
2092+
"* 10,20 * * *"
2093+
]
2094+
},
20842095
{
20852096
"matchFiles": [
20862097
"^tools/goreleaser/manifest.yaml$"
@@ -7651,6 +7662,17 @@
76517662
"version: \"?(?<currentValue>.*?)\"?\\n"
76527663
]
76537664
},
7665+
{
7666+
"datasourceTemplate": "github-releases",
7667+
"depNameTemplate": "gopasspw/gopass",
7668+
"extractVersionTemplate": "^v(?<version>.+?)$",
7669+
"fileMatch": [
7670+
"^tools/gopass/manifest.yaml$"
7671+
],
7672+
"matchStrings": [
7673+
"version: \"?(?<currentValue>.*?)\"?\\n"
7674+
]
7675+
},
76547676
{
76557677
"datasourceTemplate": "github-releases",
76567678
"depNameTemplate": "goreleaser/goreleaser",

tools/gopass/Dockerfile.template

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://github.com/gopasspw/gopass/releases/download/v${version}/gopass-${version}-linux-${alt_arch}.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner \
11+
gopass
12+
13+
"${prefix}${target}/bin/gopass" completion bash >"${prefix}${target}/share/bash-completion/completions/gopass"
14+
"${prefix}${target}/bin/gopass" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/gopass.fish"
15+
"${prefix}${target}/bin/gopass" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_gopass"
16+
EOF

tools/gopass/manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: gopass
2+
version: "1.15.5"
3+
check: ${binary} version | cut -d' ' -f2
4+
platforms:
5+
- linux/amd64
6+
- linux/arm64
7+
tags:
8+
- category/operations
9+
- lang/go
10+
- type/cli
11+
homepage: https://github.com/gopasspw/gopass
12+
description: Slightly more awesome standard unix password manager for teams
13+
renovate:
14+
datasource: github-releases
15+
package: gopasspw/gopass
16+
extractVersion: ^v(?<version>.+?)$
17+
priority: medium

0 commit comments

Comments
 (0)