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"]

@ -50,3 +50,4 @@ push_all() {
IMAGE_NAME=v2tec/watchtower IMAGE_NAME=v2tec/watchtower
push_all ${IMAGE_NAME}: 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: goarch:
- amd64 - amd64
- arm - arm
- arm64
# Archive customization # Archive customization
archive: archive:
@ -35,6 +36,7 @@ archive:
# of `uname -s` and `uname -m` respectively. # of `uname -s` and `uname -m` respectively.
replacements: replacements:
arm: armhf arm: armhf
arm64: arm64v8
amd64: amd64 amd64: amd64
386: 386 386: 386
darwin: macOS darwin: macOS
@ -69,3 +71,12 @@ dockers:
dockerfile: dockerfile/armhf/Dockerfile dockerfile: dockerfile/armhf/Dockerfile
tag_templates: 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