Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
709a729646 | |||
1bcfe3ee63 | |||
9b84ce645b | |||
69fa96781d | |||
c084f2c64f | |||
8546c3b969 |
6 changed files with 44 additions and 27 deletions
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
24
CHANGELOG.md
24
CHANGELOG.md
|
@ -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! ❤️
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue