mirror of
https://github.com/containrrr/watchtower.git
synced 2025-01-05 14:50:44 +02:00
minor changes to make it work with new goreleaser version
This commit is contained in:
parent
59eb978b5f
commit
0cd6e6954a
@ -1,18 +1,11 @@
|
||||
#
|
||||
# Alpine image to get some needed data
|
||||
#
|
||||
FROM alpine:latest as alpine
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata
|
||||
|
||||
#
|
||||
# Image
|
||||
#
|
||||
FROM scratch
|
||||
LABEL "com.centurylinklabs.watchtower"="true"
|
||||
|
||||
# copy files from other containers
|
||||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
|
||||
|
@ -1,18 +1,11 @@
|
||||
#
|
||||
# Alpine image to get some needed data
|
||||
#
|
||||
FROM alpine:latest as alpine
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata
|
||||
|
||||
#
|
||||
# Image
|
||||
#
|
||||
FROM scratch
|
||||
LABEL "com.centurylinklabs.watchtower"="true"
|
||||
|
||||
# copy files from other containers
|
||||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
|
||||
|
@ -1,18 +1,11 @@
|
||||
#
|
||||
# Alpine image to get some needed data
|
||||
#
|
||||
FROM alpine:latest as alpine
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata
|
||||
|
||||
#
|
||||
# Image
|
||||
#
|
||||
FROM scratch
|
||||
LABEL "com.centurylinklabs.watchtower"="true"
|
||||
|
||||
# copy files from other containers
|
||||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
|
||||
|
@ -1,18 +1,11 @@
|
||||
#
|
||||
# Alpine image to get some needed data
|
||||
#
|
||||
FROM alpine:latest as alpine
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata
|
||||
|
||||
#
|
||||
# Image
|
||||
#
|
||||
FROM scratch
|
||||
LABEL "com.centurylinklabs.watchtower"="true"
|
||||
|
||||
# copy files from other containers
|
||||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
|
@ -6,7 +6,7 @@ build:
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- 386
|
||||
- i386
|
||||
- arm
|
||||
- arm64
|
||||
archive:
|
||||
@ -16,7 +16,7 @@ archive:
|
||||
arm: armhf
|
||||
arm64: arm64v8
|
||||
amd64: amd64
|
||||
386: 386
|
||||
386: i386
|
||||
darwin: macOS
|
||||
linux: linux
|
||||
format_overrides:
|
||||
@ -38,13 +38,15 @@ dockers:
|
||||
- watchtower
|
||||
-
|
||||
goos: linux
|
||||
goarch: 386
|
||||
goarch: i386
|
||||
goarm: ''
|
||||
binary: watchtower
|
||||
image: v2tec/watchtower
|
||||
dockerfile: dockerfile/386/Dockerfile
|
||||
tag_templates:
|
||||
- '386-{{ .Version }}'
|
||||
dockerfile: dockerfile/i386/Dockerfile
|
||||
build_flag_templates:
|
||||
- "--label=com.centurylinklabs.watchtower=true"
|
||||
image_templates:
|
||||
- containrrr/watchtower:i386-{{ .Version }}
|
||||
binaries:
|
||||
- watchtower
|
||||
-
|
||||
goos: linux
|
||||
goarch: arm
|
||||
|
Loading…
Reference in New Issue
Block a user