Skip to content

Commit

Permalink
chore: Build image on tag (#757)
Browse files Browse the repository at this point in the history
* chore: Build image on tag

* Add section to readme
  • Loading branch information
scsmithr authored Mar 17, 2023
1 parent d7ddb78 commit 5f23f55
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build Image
on:
workflow_dispatch:
push:
tags:
- "*"
branches:
- main

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ an accompanying connection ID for each log as seen below:
Generated by rust-analyzer viewCrateGraph
![image](https://user-images.githubusercontent.com/2547411/219805638-573caa4e-897e-433c-88db-15e3142fb047.png)

## Tagging Releases

Tags should should follow the same format as Cloud (e.g. `v0.0.1`).

To prepare for a release, the steps are as follows:

1. Pull latest main and create tag.
2. Push tag, wait for image to build.
3. Update the Cloud terraform to point to the newly tagged image.

## Contributing

Expand Down

0 comments on commit 5f23f55

Please sign in to comment.