|
|
@ -119,41 +119,37 @@ 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:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:amd64-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:amd64-$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:i386-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:i386-$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:armhf-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:armhf-$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:arm64v8-${NUM_TAG}
|
|
|
|
containrrr/watchtower:arm64v8-$(echo $CIRCLE_TAG | sed 's/^v*//')
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Annotate i386 version
|
|
|
|
name: Annotate i386 version
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest annotate \
|
|
|
|
docker manifest annotate \
|
|
|
|
containrrr/watchtower:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:i386-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:i386-$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
--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:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:armhf-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:armhf-$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
--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:${NUM_TAG} \
|
|
|
|
containrrr/watchtower:$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
containrrr/watchtower:arm64v8-${NUM_TAG} \
|
|
|
|
containrrr/watchtower:arm64v8-$(echo $CIRCLE_TAG | sed 's/^v*//') \
|
|
|
|
--os linux \
|
|
|
|
--os linux \
|
|
|
|
--arch arm64 \
|
|
|
|
--arch arm64 \
|
|
|
|
--variant v8
|
|
|
|
--variant v8
|
|
|
@ -194,7 +190,7 @@ jobs:
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Push manifests to Dockerhub
|
|
|
|
name: Push manifests to Dockerhub
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker manifest push containrrr/watchtower:${NUM_TAG} && \
|
|
|
|
docker manifest push containrrr/watchtower:$(echo $CIRCLE_TAG | sed 's/^v*//') && \
|
|
|
|
docker manifest push containrrr/watchtower:latest
|
|
|
|
docker manifest push containrrr/watchtower:latest
|
|
|
|
- run:
|
|
|
|
- run:
|
|
|
|
name: Sync Readme to Dockerhub
|
|
|
|
name: Sync Readme to Dockerhub
|
|
|
|