Skip to content

Commit

Permalink
Merge branch 'certbot3-compat'
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Nov 21, 2024
2 parents d6f964d + b6256aa commit 3ba0e98
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with: {python-version: 3.x}

- run: pip install wheel twine flake8 setuptools
- run: flake8
- run: python setup.py sdist bdist_wheel
- run: twine check dist/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with: {name: dist, path: dist/}

pypi:
Expand All @@ -28,7 +28,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with: {name: dist, path: dist/}
- uses: pypa/gh-action-pypi-publish@release/v1

Expand All @@ -43,15 +43,15 @@ jobs:
username: coldfix
password: ${{ secrets.DOCKERHUB_TOKEN }}

- uses: docker/build-push-action@v5
- uses: docker/build-push-action@v6
with:
platforms: linux/amd64
build-args: FROM=certbot/certbot:latest
load: true
tags: |
coldfix/certbot-dns-netcup:amd64-latest
coldfix/certbot-dns-netcup:amd64-${{ github.ref_name }}
- uses: docker/build-push-action@v5
- uses: docker/build-push-action@v6
with:
platforms: linux/arm64
build-args: FROM=certbot/certbot:arm64v8-latest
Expand Down
12 changes: 7 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ description: |
confinement: strict
grade: stable
base: core20
architectures:
- build-on: amd64
run-on: all
base: core24
platforms:
all:
build-on: amd64
build-for: all


parts:
certbot-dns-netcup:
Expand Down Expand Up @@ -53,4 +55,4 @@ slots:
interface: content
content: certbot-1
read:
- $SNAP/lib/python3.8/site-packages
- $SNAP/lib/python3.12/site-packages

0 comments on commit 3ba0e98

Please sign in to comment.