https://github.com/andriykalashnykov/go-todo-web
https://github.com/andriykalashnykov/go-todo-web
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andriykalashnykov/go-todo-web
- Owner: AndriyKalashnykov
- Created: 2024-05-14T23:28:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T03:16:00.000Z (8 months ago)
- Last Synced: 2025-02-24T06:49:50.160Z (8 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/AndriyKalashnykov/go-todo-web/actions/workflows/ci.yml)
[](https://hits.seeyoufarm.com)
[](https://opensource.org/licenses/MIT)
[](https://app.renovatebot.com/dashboard#github/AndriyKalashnykov/go-todo-web)
# HTTP web server in Go# Pulling image from GitHub Container Registry
```
docker pull ghcr.io/andriykalashnykov/go-todo-web:latest
```# Environment variables available to image
* PORT - listen port, defaults to 8080
* APP_CONTEXT - base context path of app, defaults to '/'# Environment variables populated from Downward API
* MY_NODE_NAME - name of k8s node
* MY_POD_NAME - name of k8s pod
* MY_POD_NAMESPACE - namespace of k8s pod
* MY_POD_IP - k8s pod IP
* MY_POD_SERVICE_ACCOUNT - service account of k8s pod# Tagging
```
newtag=v0.0.1
git commit -a -m "changes for new tag $newtag" && git push
git tag $newtag && git push origin $newtag
```# Deleting tag
```
# delete local tag, then remote
todel=v0.0.1
git tag -d $todel && git push origin :refs/tags/$todel
```