Merge pull request #178 from napstr/master

Add arm64v8
pull/182/head
stffabi 7 years ago committed by GitHub
commit cce0096eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,20 @@
#
# 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
COPY watchtower /
ENTRYPOINT ["/watchtower"]

@ -49,4 +49,5 @@ push_all() {
IMAGE_NAME=v2tec/watchtower
push_all ${IMAGE_NAME}:
push_all ${IMAGE_NAME}:armhf-
push_all ${IMAGE_NAME}:armhf-
push_all ${IMAGE_NAME}:arm64v8-

@ -17,6 +17,7 @@ build:
goarch:
- amd64
- arm
- arm64
# Archive customization
archive:
@ -35,6 +36,7 @@ archive:
# of `uname -s` and `uname -m` respectively.
replacements:
arm: armhf
arm64: arm64v8
amd64: amd64
386: 386
darwin: macOS
@ -68,4 +70,13 @@ dockers:
image: v2tec/watchtower
dockerfile: dockerfile/armhf/Dockerfile
tag_templates:
- 'armhf-{{ .Version }}'
- 'armhf-{{ .Version }}'
-
goos: linux
goarch: arm64
goarm: ''
binary: watchtower
image: v2tec/watchtower
dockerfile: dockerfile/arm64v8/Dockerfile
tag_templates:
- 'arm64v8-{{ .Version }}'

Loading…
Cancel
Save