mirror of
https://github.com/containrrr/watchtower.git
synced 2026-03-04 11:50:16 +01:00
Consolidated all post-fork updates including dependency bumps and workflow changes
This commit is contained in:
parent
2abaa47fd3
commit
6b62d53797
100 changed files with 1503 additions and 1264 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM --platform=$BUILDPLATFORM alpine:3.18.4 as alpine
|
||||
FROM --platform=$BUILDPLATFORM alpine:3.21.2 as alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ COPY . /watchtower
|
|||
RUN \
|
||||
cd /watchtower && \
|
||||
\
|
||||
GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -ldflags "-extldflags '-static' -X github.com/containrrr/watchtower/internal/meta.Version=$(git describe --tags)" . && \
|
||||
GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -ldflags "-extldflags '-static' -X github.com/nicholas-fedor/watchtower/internal/meta.Version=$(git describe --tags)" . && \
|
||||
GO111MODULE=on go test ./... -v
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ RUN apk add --no-cache \
|
|||
git \
|
||||
tzdata
|
||||
|
||||
RUN git clone --branch "${WATCHTOWER_VERSION}" https://github.com/containrrr/watchtower.git
|
||||
RUN git clone --branch "${WATCHTOWER_VERSION}" https://github.com/nicholas-fedor/watchtower.git
|
||||
|
||||
RUN \
|
||||
cd watchtower && \
|
||||
\
|
||||
GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -ldflags "-extldflags '-static' -X github.com/containrrr/watchtower/internal/meta.Version=$(git describe --tags)" . && \
|
||||
GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -ldflags "-extldflags '-static' -X github.com/nicholas-fedor/watchtower/internal/meta.Version=$(git describe --tags)" . && \
|
||||
GO111MODULE=on go test ./... -v
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
producer:
|
||||
image: qmcgaw/gluetun:v3.35.0
|
||||
image: qmcgaw/gluetun:v3.40.0
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
|
|
@ -11,7 +11,7 @@ services:
|
|||
consumer:
|
||||
depends_on:
|
||||
- producer
|
||||
image: nginx:1.25.1
|
||||
image: nginx:1.27.3
|
||||
network_mode: "service:producer"
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.depends-on=/wt-contnet-producer-1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue