feat: Added service name in VERSION vars for consistency
This commit is contained in:
parent
06301d6d90
commit
d200ffe7cc
|
@ -21,7 +21,7 @@ Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added
|
|||
|
||||
[source,shell]
|
||||
----
|
||||
docker build --build-arg VERSION=2.8.4 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.8.4 .
|
||||
docker build --build-arg CADDY_VERSION=2.8.4 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.8.4 .
|
||||
----
|
||||
|
||||
=== caddy-docker-ovh.Dockerfile
|
||||
|
@ -39,5 +39,5 @@ Gitea base image (rootless) with https://docs.gitea.com/administration/external-
|
|||
|
||||
[source,shell]
|
||||
----
|
||||
docker build --build-arg VERSION=1.22.0 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.0 .
|
||||
docker build --build-arg GITEA_VERSION=1.22.0 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.0 .
|
||||
----
|
|
@ -1,8 +1,8 @@
|
|||
ARG VERSION=latest
|
||||
FROM arm64v8/caddy:${VERSION}-builder AS builder
|
||||
ARG CADDY_VERSION=latest
|
||||
FROM arm64v8/caddy:${CADDY_VERSION}-builder AS builder
|
||||
|
||||
RUN xcaddy build \
|
||||
--with github.com/caddy-dns/duckdns
|
||||
|
||||
FROM arm64v8/caddy:${VERSION}
|
||||
FROM arm64v8/caddy:${CADDY_VERSION}
|
||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
@ -1,8 +1,8 @@
|
|||
ARG VERSION=latest
|
||||
FROM caddy:${VERSION}-builder AS builder
|
||||
ARG CADDY_VERSION=latest
|
||||
FROM caddy:${CADDY_VERSION}-builder AS builder
|
||||
|
||||
RUN xcaddy build \
|
||||
--with github.com/caddy-dns/duckdns
|
||||
|
||||
FROM caddy:${VERSION}
|
||||
FROM caddy:${CADDY_VERSION}
|
||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
@ -1,5 +1,5 @@
|
|||
ARG VERSION=latest
|
||||
FROM gitea/gitea:${VERSION}-rootless
|
||||
ARG GITEA_VERSION=latest
|
||||
FROM gitea/gitea:${GITEA_VERSION}-rootless
|
||||
|
||||
USER root
|
||||
RUN apk --no-cache add \
|
||||
|
|
Loading…
Reference in New Issue
Block a user