Skip to content

Commit

Permalink
ci(fix): Properly auto-update Dockerfiles using a build arg (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg authored Aug 29, 2024
1 parent 7268781 commit 5d60dd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Dockerfile.buildkit.plus
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
ARG RELEASE=bookworm
FROM debian:${RELEASE}-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33
FROM debian:bookworm-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33

# Persist RELEASE argument
ARG RELEASE
# Create RELEASE argument
ARG RELEASE=bookworm

# NJS env vars
ENV NGINX_VERSION=32
Expand Down
7 changes: 3 additions & 4 deletions Dockerfile.plus
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
ARG RELEASE=bookworm
FROM debian:${RELEASE}-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33
FROM debian:bookworm-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33

# Persist RELEASE argument
ARG RELEASE
# Create RELEASE argument
ARG RELEASE=bookworm

# NJS env vars
ENV NGINX_VERSION=32
Expand Down

0 comments on commit 5d60dd0

Please sign in to comment.