Skip to content

Commit

Permalink
Update readme me docker multi-platform image instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
arunvelsriram committed Mar 30, 2024
1 parent 4e387d0 commit c8f89e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ goreleaser --clean
3. Push docker image

```
docker build -t arunvelsriram/sftp-exporter:<version> .
docker tag arunvelsriram/sftp-exporter:latest
docker buildx create --name multiplatform-builder
docker buildx use multiplatform-builder
docker buildx inspect --bootstrap
docker push arunvelsriram/sftp-exporter:<version>
docker push arunvelsriram/sftp-exporter:latest
docker buildx build --platform linux/amd64,linux/arm64 --tag arunvelsriram/sftp-exporter:<version> --tag arunvelsriram/sftp-exporter:latest --push .
```

0 comments on commit c8f89e9

Please sign in to comment.