Compare commits

..

6 commits
v1.0.0 ... main

Author SHA1 Message Date
709a729646 🎉 Release 1.0.2 (#17)
All checks were successful
ci/woodpecker/push/99-release-bot Pipeline was successful
ci/woodpecker/tag/0-pre Pipeline was successful
ci/woodpecker/push/0-pre Pipeline was successful
ci/woodpecker/push/1-build-check Pipeline was successful
ci/woodpecker/push/10-build-dev Pipeline was successful
ci/woodpecker/tag/20-build-tag Pipeline was successful
This PR was opened by the [ready-release-go](https://github.com/woodpecker-ci/plugin-ready-release-go) plugin. When you're ready to do a release, you can merge this pull-request and a new release with version `1.0.2` will be created automatically. If you're not ready to do a release yet, that's fine, whenever you add more changes to `main` this pull-request will be updated.

## Options

- [ ] Mark this version as a release candidate

## [1.0.2](https://git.hackmi.ch/Phil/goshorly/releases/tag/v1.0.2) - 2025-04-08

### 🐛 Bug Fixes

- [CI/Tag] Wait for release when build is success [[#16](#16)]

Co-authored-by: oauth <release_mail>
Reviewed-on: #17
Co-authored-by: release-bot <release-bot@noreply.email>
Co-committed-by: release-bot <release-bot@noreply.email>
2025-04-08 09:12:11 +00:00
1bcfe3ee63 [CI/Tag] Wait for release when build is success (#16)
Some checks failed
ci/woodpecker/push/99-release-bot Pipeline was successful
ci/woodpecker/push/0-pre Pipeline was successful
ci/woodpecker/push/1-build-check Pipeline was successful
ci/woodpecker/push/10-build-dev Pipeline failed
Reviewed-on: #16
2025-04-08 09:06:42 +00:00
9b84ce645b 🎉 Release 1.0.1 (#14)
All checks were successful
ci/woodpecker/push/99-release-bot Pipeline was successful
ci/woodpecker/push/0-pre Pipeline was successful
ci/woodpecker/tag/0-pre Pipeline was successful
ci/woodpecker/push/1-build-check Pipeline was successful
ci/woodpecker/tag/20-build-tag Pipeline was successful
ci/woodpecker/push/10-build-dev Pipeline was successful
This PR was opened by the [ready-release-go](https://github.com/woodpecker-ci/plugin-ready-release-go) plugin. When you're ready to do a release, you can merge this pull-request and a new release with version `1.0.1` will be created automatically. If you're not ready to do a release yet, that's fine, whenever you add more changes to `main` this pull-request will be updated.

## Options

- [ ] Mark this version as a release candidate

## [1.0.1](https://git.hackmi.ch/Phil/goshorly/releases/tag/v1.0.1) - 2025-04-07

### 📚 Documentation

- [Docs] Changed README for docker deployments [[#15](#15)]

### Misc

- [CI] Upload version binary to forgejo release [[#13](#13)]

Co-authored-by: oauth <release_mail>
Reviewed-on: #14
Co-authored-by: release-bot <release-bot@noreply.email>
Co-committed-by: release-bot <release-bot@noreply.email>
2025-04-08 08:41:40 +00:00
69fa96781d Merge pull request '[Docs] Changed README for docker deployments' (#15) from docs/docker into main
All checks were successful
ci/woodpecker/push/99-release-bot Pipeline was successful
ci/woodpecker/push/0-pre Pipeline was successful
ci/woodpecker/push/1-build-check Pipeline was successful
ci/woodpecker/push/10-build-dev Pipeline was successful
Reviewed-on: #15
2025-04-07 19:05:53 +00:00
c084f2c64f [Docs] changed README for docker deployment
All checks were successful
ci/woodpecker/pr/0-pre Pipeline was successful
ci/woodpecker/pr/1-build-check Pipeline was successful
2025-04-07 19:05:28 +00:00
8546c3b969 [CI] Improvments build/checks
Some checks failed
ci/woodpecker/push/99-release-bot Pipeline was successful
ci/woodpecker/push/1-build-check unknown status
ci/woodpecker/push/10-build-dev unknown status
ci/woodpecker/push/0-pre Pipeline failed
- Updated workflow to release the binary builds for tags in forgejo.
- Removed Check for docker build -> to much cpu usage for building.

Reviewed-on: #13
2025-04-07 19:03:21 +00:00
6 changed files with 44 additions and 27 deletions

View file

@ -19,26 +19,6 @@ steps:
commands: commands:
- go build -a -installsuffix cgo -ldflags=" -X $I_PACKAGE.CI_COMMIT_SHA=$CI_COMMIT_SHA -X $I_PACKAGE.CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH -X $I_PACKAGE.CI_COMMIT_TAG=$CI_COMMIT_TAG" -o app-arm64 . - go build -a -installsuffix cgo -ldflags=" -X $I_PACKAGE.CI_COMMIT_SHA=$CI_COMMIT_SHA -X $I_PACKAGE.CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH -X $I_PACKAGE.CI_COMMIT_TAG=$CI_COMMIT_TAG" -o app-arm64 .
- name: test/build-docker/linux-amd64
image: woodpeckerci/plugin-docker-buildx:5.2.2
settings:
platforms: linux/amd64
dry-run: true
repo: git.hackmi.ch/phil/goshorly
registry: git.hackmi.ch
depends_on:
- test/build-binary/linux-amd64
- name: test/build-docker/linux-arm64
image: woodpeckerci/plugin-docker-buildx:5.2.2
settings:
platforms: linux/arm64
dry-run: true
repo: git.hackmi.ch/phil/goshorly
registry: git.hackmi.ch
depends_on:
- test/build-binary/linux-arm64
when: when:
- event: [push, cron] - event: [push, cron]
branch: [main, develop] branch: [main, develop]

View file

@ -34,6 +34,19 @@ steps:
- prod/build-binary/linux-amd64 - prod/build-binary/linux-amd64
- prod/build-binary/linux-arm64 - prod/build-binary/linux-arm64
- name: prod/release/binary
image: woodpeckerci/plugin-release:0.2
settings:
files:
- 'app-linux-amd64'
- 'app-linux-arm64'
api_key:
from_secret: release_token
depends_on:
- prod/build-binary/linux-amd64
- prod/build-binary/linux-arm64
- prod/build-docker/linux-multiarch
when: when:
- event: tag - event: tag

View file

@ -1,5 +1,29 @@
# Changelog # Changelog
## [1.0.2](https://git.hackmi.ch/Phil/goshorly/releases/tag/v1.0.2) - 2025-04-08
### ❤️ Thanks to all contributors! ❤️
@Phil
### 🐛 Bug Fixes
- [CI/Tag] Wait for release when build is success [[#16](https://git.hackmi.ch/Phil/goshorly/pulls/16)]
## [1.0.1](https://git.hackmi.ch/Phil/goshorly/releases/tag/v1.0.1) - 2025-04-07
### ❤️ Thanks to all contributors! ❤️
@Phil
### 📚 Documentation
- [Docs] Changed README for docker deployments [[#15](https://git.hackmi.ch/Phil/goshorly/pulls/15)]
### Misc
- [CI] Upload version binary to forgejo release [[#13](https://git.hackmi.ch/Phil/goshorly/pulls/13)]
## [1.0.0](https://git.hackmi.ch/Phil/goshorly/releases/tag/v1.0.0) - 2025-04-07 ## [1.0.0](https://git.hackmi.ch/Phil/goshorly/releases/tag/v1.0.0) - 2025-04-07
### ❤️ Thanks to all contributors! ❤️ ### ❤️ Thanks to all contributors! ❤️

View file

@ -29,13 +29,13 @@ docker-compose up -d
To simplify your deployment, we offer the following Docker tags: To simplify your deployment, we offer the following Docker tags:
- dev: Latest code from the main branch (experimental). - 🔥 [Versioned Tags (X, X.X, X.X.X): Specific release versions.](https://git.hackmi.ch/Phil/-/packages/container/goshorly/versions) (⚠️ Recommended ⚠️)
- latest: Latest stable release (may include breaking changes). - 🔴 latest: Latest stable release (may include breaking changes).
- Versioned Tags (vX, vX.X, vX.X.X): Specific release versions. - ⚠️ dev: Latest code from the main branch (experimental).
#### Using Binary #### Using Binary
1. Download the latest binary from the releases. 1. Download the latest binary from the releases.
2. Create an .env file (or use the .env.example) 2. Create an .env file.
and change the values for your environment. and change the values for your environment.
3. Run the binary the terminal. 3. Run the binary the terminal.

View file

@ -2,7 +2,7 @@ version: "3"
services: services:
web: web:
# build: . # Only if you want to Build the image on your own Server! # build: . # Only if you want to Build the image on your own Server!
image: git.hackmi.ch/phil/goshorly:latest image: git.hackmi.ch/phil/goshorly:1.0
environment: environment:
- HOST=example.org # Domain or IP-Adress - HOST=example.org # Domain or IP-Adress
- PORT=3000 # The Port you want to use - PORT=3000 # The Port you want to use

View file

@ -2,7 +2,7 @@ version: "3"
services: services:
web: web:
# build: . # Only if you want to Build the image on your own Server! # build: . # Only if you want to Build the image on your own Server!
image: git.hackmi.ch/phil/goshorly:latest image: git.hackmi.ch/phil/goshorly:1.0
environment: environment:
- HOST=127.0.0.1 # Domain or IP-Adress - HOST=127.0.0.1 # Domain or IP-Adress
- PORT=3000 # The Port you want to use - PORT=3000 # The Port you want to use