Skip to content

Commit

Permalink
Update shields.io image url
Browse files Browse the repository at this point in the history
  • Loading branch information
mtgto committed Sep 24, 2023
1 parent 18d1067 commit 094cc46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).

Expand All @@ -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
Expand All @@ -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 .
```

0 comments on commit 094cc46

Please sign in to comment.