Skip to content

Commit

Permalink
chore: restore snap packaging (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Nov 13, 2024
1 parent 062e355 commit 92d437f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,31 +144,29 @@ dockers:
- '--label=org.opencontainers.image.version={{.Version}}'
- '--platform=linux/arm/v7'

# Disabled because https://github.com/go-acme/lego/pull/2134#issuecomment-2135293270
snapcrafts:
- name: lego
disable: true
disable: false
publish: true
grade: stable
confinement: strict
license: MIT
base: core22
publish: true
summary: Lego is a Let's Encrypt/ACME client.
description: |
Lego is a Let's Encrypt/ACME client written in Go.
The lego snap makes it easy to install and use Lego on any Linux distribution that supports snaps.
Usage:
* `sudo snap install lego`
* `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: bin/lego
command: lego
environment:
LEGO_PATH: /var/snap/lego/common/.lego
plugs:
Expand Down

0 comments on commit 92d437f

Please sign in to comment.