Skip to content

Commit

Permalink
Merge pull request #17 from hostwithquantum/fix-release
Browse files Browse the repository at this point in the history
Fix(release): unify name/tags
  • Loading branch information
till authored Dec 4, 2024
2 parents b5d47c1 + 99c6566 commit 88c21c1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- id: meta
uses: docker/metadata-action@v5
with:
images: r.planetary-quantum.com/quantum-public/${{ github.repository }}
images: |
r.planetary-quantum.com/quantum-public/caddy
ghcr.io/hostwithquantum/quantum-caddy
- uses: docker/build-push-action@v6
with:
context: rootfs
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ on:
jobs:
build_push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v3
with:
registry: r.planetary-quantum.com
Expand All @@ -18,7 +26,9 @@ jobs:
- id: meta
uses: docker/metadata-action@v5
with:
images: r.planetary-quantum.com/quantum-public/${{ github.repository }}
images: |
r.planetary-quantum.com/quantum-public/caddy
ghcr.io/hostwithquantum/quantum-caddy
- uses: docker/build-push-action@v6
with:
context: rootfs/
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Modules/plugins:

## Images

Images are available and free to use for anyone. To download and use an image:
Images are available on Github or on our registry, and free to use for anyone. To download and use an image:

```sh
$ docker pull r.planetary-quantum.com/quantum-public/hostwithquantum/quantum-caddy@TAG
$ docker pull r.planetary-quantum.com/quantum-public/caddy@TAG
```

> Note: The docker tags match release tags in this repository.
> Note: The docker tags match release tags in this repository. The follow the format of `vCADDY+pq.X`.
1 change: 1 addition & 0 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN xcaddy build \
FROM caddy:2.8.4

LABEL org.opencontainers.image.description "A Caddy reverse proxy with s3 storage for certmagic, service discovery via labels"
LABEL org.opencontainers.image.source="https://github.com/hostwithquantum/quantum-caddy"

ENV S3_BUCKET ""
ENV S3_ACCESS_ID ""
Expand Down

0 comments on commit 88c21c1

Please sign in to comment.