Skip to content

Commit

Permalink
chore: publish aur lego-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 20, 2024
1 parent a628db5 commit 484d011
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
AUR_KEY: ${{ secrets.AUR_KEY }}
23 changes: 22 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,32 @@ snapcrafts:
* `sudo lego --email="[email protected]" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run
channel_templates:
- edge

apps:
lego:
command: lego
environment:
LEGO_PATH: /var/snap/lego/common/.lego
plugs:
- network-bind

aurs:
- description: "Let's Encrypt client and ACME library written in Go"
skip_upload: false
homepage: https://github.com/ldez/prm
name: 'lego-bin'
provides:
- lego
maintainers:
- "Fernandez Ludovic <lfernandez dot dev at gmail dot com>"
license: APACHE
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/lego-bin.git"
commit_author:
name: ldez
email: [email protected]
package: |-
# Bin
install -Dm755 "./prm" "${pkgdir}/usr/bin/lego"
# License
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/lego/LICENSE"

0 comments on commit 484d011

Please sign in to comment.