Skip to content

Commit

Permalink
Remove deployment steps from readme as we have gh actions now
Browse files Browse the repository at this point in the history
  • Loading branch information
arunvelsriram committed Jul 24, 2024
1 parent e3ce981 commit aa2f8d1
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,3 @@ docker-compose up
| SFTP Key Auth | localhost:2221 | **Private Key:** [key_with_passphrase](./playground/ssh/key_with_passphrase) / [key_without_passphrase](./playground/ssh/key_without_passphrase) |
| SFTP Basic and Key Auth | localhost:2222 | **Private Key:** [key_with_passphrase](./playground/ssh/key_with_passphrase) / [key_without_passphrase](./playground/ssh/key_without_passphrase) |
| SFTP Exporter | http://localhost:8081 | **User:** foo **Password:** password **Private Key:** [key_with_passphrase](./playground/ssh/key_with_passphrase) / [key_without_passphrase](./playground/ssh/key_without_passphrase) |

## Deployment

1. Create tag
2. Release using goreleaser

```shell
export GITHUB_TOKEN=<token>
goreleaser --clean
```

3. Push docker image

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

0 comments on commit aa2f8d1

Please sign in to comment.