mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Don't publish latest
docker image until all archs are built (#8909)
This commit is contained in:
parent
80a992d7b9
commit
dc016c66ae
@ -7,6 +7,8 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- docker_prepare
|
- docker_prepare
|
||||||
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
||||||
|
# for release builds, we want to get the amd64 image out asap, so first
|
||||||
|
# we do an amd64-only build, before following up with a multiarch build.
|
||||||
- docker_build:
|
- docker_build:
|
||||||
tag: -t matrixdotorg/synapse:${CIRCLE_TAG}
|
tag: -t matrixdotorg/synapse:${CIRCLE_TAG}
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
@ -21,9 +23,8 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- docker_prepare
|
- docker_prepare
|
||||||
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
||||||
- docker_build:
|
# for `latest`, we don't want the arm images to disappear, so don't update the tag
|
||||||
tag: -t matrixdotorg/synapse:latest
|
# until all of the platforms are built.
|
||||||
platforms: linux/amd64
|
|
||||||
- docker_build:
|
- docker_build:
|
||||||
tag: -t matrixdotorg/synapse:latest
|
tag: -t matrixdotorg/synapse:latest
|
||||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||||
|
1
changelog.d/8909.misc
Normal file
1
changelog.d/8909.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Don't publish `latest` docker image until all archs are built.
|
Loading…
Reference in New Issue
Block a user