Fixed push docker file format

This commit is contained in:
Sambo Chea 2021-07-15 18:20:23 +07:00
parent 06b459702b
commit 637b6fccca

View File

@ -23,14 +23,12 @@ main() {
export DOCKER_CLI_EXPERIMENTAL=enabled export DOCKER_CLI_EXPERIMENTAL=enabled
docker manifest create docker manifest create "cubetiq/code-server:$VERSION" \
"cubetiq/code-server:$VERSION" \
"cubetiq/code-server-amd64:$VERSION" \ "cubetiq/code-server-amd64:$VERSION" \
"cubetiq/code-server-arm64:$VERSION" "cubetiq/code-server-arm64:$VERSION"
docker manifest push --purge "cubetiq/code-server:$VERSION" docker manifest push --purge "cubetiq/code-server:$VERSION"
docker manifest create docker manifest create "cubetiq/code-server:latest" \
"cubetiq/code-server:latest" \
"cubetiq/code-server-amd64:$VERSION" \ "cubetiq/code-server-amd64:$VERSION" \
"cubetiq/code-server-arm64:$VERSION" "cubetiq/code-server-arm64:$VERSION"
docker manifest push --purge "cubetiq/code-server:latest" docker manifest push --purge "cubetiq/code-server:latest"