-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: restore snap packaging (#2348)
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|