Skip to content

Commit

Permalink
Add instructions for manual deployment (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcspragu authored Dec 22, 2023
1 parent 7ce5818 commit b2e86d3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,28 @@ bazel run //scripts:run_server

You can access the API via `curl`, see [the cmd/server README](/cmd/server/README.md) for more details and exact commands.

## Deploying

This repo doesn't currently have deployment via GitHub Actions. To manually deploy the service:

```bash
az acr login --name rmisa
bazel run --@io_bazel_rules_go//go/config:pure //cmd/server:push_image

# If you get an unauthenticated error from the above command, you can run:
bazel build --@io_bazel_rules_go//go/config:pure //cmd/server:image_tarball
docker load < bazel-bin/cmd/server/image_tarball/tarball.tar
docker tag <sha from previous step, without 'sha256:' prefix> rmisa.azurecr.io/credsrv
docker push rmisa.azurecr.io/credsrv


# Now that the updated image has been pushed, deploy it with something like:
az containerapp update \
-g rmi-credsrv-dev \
-n credsrv-dev \
-i rmisa.azurecr.io/credsrv:latest
```

## Security

Please report security issues to security@siliconally.org, or by using one of
Expand Down

0 comments on commit b2e86d3

Please sign in to comment.