feat: Added service name in VERSION vars for consistency

This commit is contained in:
syrell 2024-06-12 22:23:31 +02:00
parent 06301d6d90
commit d200ffe7cc
Signed by: syrell
GPG Key ID: BC9570E849334AF9
4 changed files with 10 additions and 10 deletions

View File

@ -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 .
----

View File

@ -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

View File

@ -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

View File

@ -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 \