|
|
@ -119,37 +119,41 @@ jobs:
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
mkdir -p ~/.docker/ && \
|
|
|
|
mkdir -p ~/.docker/ && \
|
|
|
|
echo '{"experimental": "enabled"}' > ~/.docker/config.json
|
|
|
|
echo '{"experimental": "enabled"}' > ~/.docker/config.json
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
|
|
|
name: Strip letters from tag
|
|
|
|
|
|
|
|
command: |
|
|
|
|
|
|
|
|
export NUM_TAG=$(echo $CIRCLE_TAG | sed 's/^v*//')
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Create manifest for version
|
|
|
|
name: Create manifest for version
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest create \
|
|
|
|
docker manifest create \
|
|
|
|
containrrr/watchtower:${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:amd64-${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:amd64-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:i386-${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:i386-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:armhf-${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:armhf-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:arm64v8-${CIRCLE_TAG}
|
|
|
|
containrrr/watchtower:arm64v8-${NUM_TAG}
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Annotate i386 version
|
|
|
|
name: Annotate i386 version
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest annotate \
|
|
|
|
docker manifest annotate \
|
|
|
|
containrrr/watchtower:${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:i386-${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:i386-${NUM_TAG} \
|
|
|
|
--os linux \
|
|
|
|
--os linux \
|
|
|
|
--arch 386
|
|
|
|
--arch 386
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Annotate ARM version
|
|
|
|
name: Annotate ARM version
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest annotate \
|
|
|
|
docker manifest annotate \
|
|
|
|
containrrr/watchtower:${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:armhf-${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:armhf-${NUM_TAG} \
|
|
|
|
--os linux \
|
|
|
|
--os linux \
|
|
|
|
--arch arm
|
|
|
|
--arch arm
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Annotate ARM64 version
|
|
|
|
name: Annotate ARM64 version
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest annotate \
|
|
|
|
docker manifest annotate \
|
|
|
|
containrrr/watchtower:${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:arm64v8-${CIRCLE_TAG} \
|
|
|
|
containrrr/watchtower:arm64v8-${NUM_TAG} \
|
|
|
|
--os linux \
|
|
|
|
--os linux \
|
|
|
|
--arch arm64 \
|
|
|
|
--arch arm64 \
|
|
|
|
--variant v8
|
|
|
|
--variant v8
|
|
|
@ -190,7 +194,7 @@ jobs:
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Push manifests to Dockerhub
|
|
|
|
name: Push manifests to Dockerhub
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest push containrrr/watchtower:${CIRCLE_TAG} && \
|
|
|
|
docker manifest push containrrr/watchtower:${NUM_TAG} && \
|
|
|
|
docker manifest push containrrr/watchtower:latest
|
|
|
|
docker manifest push containrrr/watchtower:latest
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Sync Readme to Dockerhub
|
|
|
|
name: Sync Readme to Dockerhub
|
|
|
|