feature: ghcr
This commit is contained in:
parent
b638a7c992
commit
d89d198f96
|
|
@ -89,6 +89,7 @@ archives:
|
||||||
dockers:
|
dockers:
|
||||||
- image_templates:
|
- image_templates:
|
||||||
- "docker.io/jamesread/olivetin:{{ .Tag }}-amd64"
|
- "docker.io/jamesread/olivetin:{{ .Tag }}-amd64"
|
||||||
|
- "ghcr.io/olivetin/olivetin:{{ .Tag }}-amd64"
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
|
|
@ -104,6 +105,7 @@ dockers:
|
||||||
|
|
||||||
- image_templates:
|
- image_templates:
|
||||||
- "docker.io/jamesread/olivetin:{{ .Tag }}-arm64"
|
- "docker.io/jamesread/olivetin:{{ .Tag }}-arm64"
|
||||||
|
- "ghcr.io/olivetin/olivetin:{{ .Tag }}-amd64"
|
||||||
dockerfile: Dockerfile.arm64
|
dockerfile: Dockerfile.arm64
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
|
|
@ -127,6 +129,16 @@ docker_manifests:
|
||||||
- docker.io/jamesread/olivetin:{{ .Version }}-amd64
|
- docker.io/jamesread/olivetin:{{ .Version }}-amd64
|
||||||
- docker.io/jamesread/olivetin:{{ .Version }}-arm64
|
- docker.io/jamesread/olivetin:{{ .Version }}-arm64
|
||||||
|
|
||||||
|
- name_template: ghcr.io/olivetin/olivetin:{{ .Version }}
|
||||||
|
image_templates:
|
||||||
|
- ghcr.io/olivetin/olivetin:{{ .Version }}-amd64
|
||||||
|
- ghcr.io/olivetin/olivetin:{{ .Version }}-arm64
|
||||||
|
|
||||||
|
- name_template: ghcr.io/olivetin/olivetin:latest
|
||||||
|
image_templates:
|
||||||
|
- ghcr.io/olivetin/olivetin:{{ .Version }}-amd64
|
||||||
|
- ghcr.io/olivetin/olivetin:{{ .Version }}-arm64
|
||||||
|
|
||||||
nfpms:
|
nfpms:
|
||||||
- id: default
|
- id: default
|
||||||
maintainer: James Read <contact@jread.com>
|
maintainer: James Read <contact@jread.com>
|
||||||
|
|
@ -213,6 +225,10 @@ nfpms:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
footer: |
|
footer: |
|
||||||
|
## Container images (from GitHub)
|
||||||
|
|
||||||
|
- `docker pull ghcr.io/olivetin/olivetin:{{ .Version }}`
|
||||||
|
|
||||||
## Container images ([on Docker Hub](https://hub.docker.com/r/jamesread/olivetin/tags?page=1&ordering=last_updated))
|
## Container images ([on Docker Hub](https://hub.docker.com/r/jamesread/olivetin/tags?page=1&ordering=last_updated))
|
||||||
|
|
||||||
- `docker pull docker.io/jamesread/olivetin:{{ .Version }}`
|
- `docker pull docker.io/jamesread/olivetin:{{ .Version }}`
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
|
FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /var/www/olivetin \
|
||||||
&& microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
&& microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
iputils \
|
iputils \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
FROM --platform=linux/arm64 registry.fedoraproject.org/fedora-minimal:36-aarch64
|
FROM --platform=linux/arm64 registry.fedoraproject.org/fedora-minimal:36-aarch64
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
FROM --platform=linux/armhfp registry.fedoraproject.org/fedora-minimal:36-armhfp
|
FROM --platform=linux/armhfp registry.fedoraproject.org/fedora-minimal:36-armhfp
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
|
||||||
|
|
||||||
RUN mkdir -p /config /var/www/olivetin \
|
RUN mkdir -p /config /var/www/olivetin \
|
||||||
&& \
|
&& \
|
||||||
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue