ci: remove image push to the official image repository and use the test instead (#18738)

This commit is contained in:
Carlos Tadeu Panato Junior
2021-10-20 16:54:23 +02:00
committed by GitHub
parent d4e08e26fd
commit 3e0ab2d386

View File

@@ -479,8 +479,7 @@ jobs:
export DOCKER_CLI_EXPERIMENTAL=enabled
echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
export MM_PACKAGE=https://pr-builds.mattermost.com/mattermost-server/commit/${CIRCLE_SHA1}/mattermost-team-linux-amd64.tar.gz
# Pushing the images to two places to not break anything, but the `mattermost/mattermost-team-edition` will be removed soon.
docker buildx build --push --build-arg MM_PACKAGE=$MM_PACKAGE -t mattermost/mattermost-team-edition:${TAG} -t mattermost/mm-te-test:${TAG} build
docker buildx build --push --build-arg MM_PACKAGE=$MM_PACKAGE -t mattermost/mm-te-test:${TAG} build
workflows:
version: 2