From 094cc46d599e8062638afa1da11a9f4335f5422d Mon Sep 17 00:00:00 2001 From: mtgto Date: Mon, 25 Sep 2023 07:36:41 +0900 Subject: [PATCH] Update shields.io image url --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4487bd0..2c690da 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ docker-swift-format ==== -[![Docker Hub](https://img.shields.io/docker/v/mtgto/swift-format/latest)](https://hub.docker.com/r/mtgto/swift-format/) +[![Docker Hub](https://img.shields.io/docker/v/mtgto/swift-format)](https://hub.docker.com/r/mtgto/swift-format/) Unofficial docker image of [apple/swift-format](https://github.com/apple/swift-format). @@ -9,7 +9,7 @@ Unofficial docker image of [apple/swift-format](https://github.com/apple/swift-f ### Lint ```console -$ docker run --rm --workdir=/work --volume=$PWD:/work mtgto/swift-format:5.8 lint --recursive . +$ docker run --rm --workdir=/work --volume=$PWD:/work mtgto/swift-format:5.9 lint --recursive . ``` ### Format @@ -23,5 +23,5 @@ $ docker run --rm --workdir=/work --volume=$PWD:/work mtgto/swift-format:5.9 for ### Build & Push ```console -docker buildx build --platform linux/arm64/v8,linux/amd64 -t mtgto/swift-format:latest -t mtgto/swift-format:5.8 --push . +docker buildx build --platform linux/arm64/v8,linux/amd64 -t mtgto/swift-format:latest -t mtgto/swift-format:5.9 --push . ```