Docker/README.adoc

30 lines
979 B
Plaintext

= Docker
This repository contains custom Dockerfiles whose images will be stored on this Gitea container registry.
== How to use
To use the container registry you must login using your credentials. If you have enabled two-factors authentication, you will need to create an application token with repository read access. More informations on https://docs.gitea.com/usage/packages/container[Gitea documentation].
[source,shell]
----
docker login git.syyrell.com
docker pull git.syyrell.com/{owner}/{image}:{tag}
docker push git.syyrell.com/{owner}/{image}:{tag}
----
== Dockerfiles available
=== caddy-duckdns.Dockerfile
Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added. There is a `VERSION` variable required to chose which Caddy version to use.
[source,shell]
----
docker build --build-arg VERSION=2.7.6 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.7.6 .
----
Existing pre-built images :
* git.syyrell.com/syrell/caddy-duckdns:2.7.6