Merge branch 'develop' into 'main'
Fixed CI Layout See merge request Phil/goshorly!19
This commit is contained in:
commit
04e172d5eb
2 changed files with 24 additions and 10 deletions
|
@ -35,7 +35,7 @@ check-gosec:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
|
|
||||||
release-prod-linux-amd64:
|
release-prod-linux-amd64:
|
||||||
image: golang:alpine
|
image: golang:latest
|
||||||
stage: build-binary
|
stage: build-binary
|
||||||
variables:
|
variables:
|
||||||
GOOS: "linux"
|
GOOS: "linux"
|
||||||
|
@ -54,7 +54,7 @@ release-prod-linux-amd64:
|
||||||
- branches
|
- branches
|
||||||
|
|
||||||
release-prod-linux-arm64:
|
release-prod-linux-arm64:
|
||||||
image: golang:alpine
|
image: golang:latest
|
||||||
stage: build-binary
|
stage: build-binary
|
||||||
variables:
|
variables:
|
||||||
GOOS: "linux"
|
GOOS: "linux"
|
||||||
|
@ -73,7 +73,7 @@ release-prod-linux-arm64:
|
||||||
- branches
|
- branches
|
||||||
|
|
||||||
release-prod-darwin-amd64:
|
release-prod-darwin-amd64:
|
||||||
image: golang:alpine
|
image: golang:latest
|
||||||
stage: build-binary
|
stage: build-binary
|
||||||
variables:
|
variables:
|
||||||
GOOS: "darwin"
|
GOOS: "darwin"
|
||||||
|
@ -92,7 +92,7 @@ release-prod-darwin-amd64:
|
||||||
- branches
|
- branches
|
||||||
|
|
||||||
release-prod-darwin-arm64:
|
release-prod-darwin-arm64:
|
||||||
image: golang:alpine
|
image: golang:latest
|
||||||
stage: build-binary
|
stage: build-binary
|
||||||
variables:
|
variables:
|
||||||
GOOS: "darwin"
|
GOOS: "darwin"
|
||||||
|
@ -111,7 +111,7 @@ release-prod-darwin-arm64:
|
||||||
- branches
|
- branches
|
||||||
|
|
||||||
release-prod-windows-amd64:
|
release-prod-windows-amd64:
|
||||||
image: golang:alpine
|
image: golang:latest
|
||||||
stage: build-binary
|
stage: build-binary
|
||||||
variables:
|
variables:
|
||||||
GOOS: "windows"
|
GOOS: "windows"
|
||||||
|
@ -161,7 +161,8 @@ docker-build-prod-tagged:
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
|
--no-cache \
|
||||||
--build-arg CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH \
|
--build-arg CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH \
|
||||||
--build-arg CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA \
|
--build-arg CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA \
|
||||||
--build-arg CI_COMMIT_TAG=$CI_COMMIT_TAG \
|
--build-arg CI_COMMIT_TAG=$CI_COMMIT_TAG \
|
||||||
|
|
21
README.md
21
README.md
|
@ -1,11 +1,19 @@
|
||||||
![](https://git.ucode.space/Phil/goshorly/badges/main/pipeline.svg)
|
![](https://git.ucode.space/Phil/goshorly/badges/main/pipeline.svg)
|
||||||
# goshorly
|
# goshorly
|
||||||
|
|
||||||
An easy self-hosted Link shortener in Golang with Redis <3
|
An easy self-hosted Link shortener in Golang with Redis <3 [Live-Demo](https://gly.one)
|
||||||
|
|
||||||
[Live-Demo](https://gly.one) | Stable Build
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
## Supported architectures
|
||||||
|
### Docker
|
||||||
|
- amd64, arm64
|
||||||
|
- other versions can be build manually (via docker build)
|
||||||
|
## Binary Build
|
||||||
|
- linux (amd64,arm64)
|
||||||
|
- darwin (amd64,arm64)
|
||||||
|
- windows (amd64)
|
||||||
|
- other versions can be build manually (via go build)
|
||||||
|
---
|
||||||
**WARNING:**
|
**WARNING:**
|
||||||
- goshorly is in an early stage, it is not an Final Version! (Pre-Release Status v0.1.X)
|
- goshorly is in an early stage, it is not an Final Version! (Pre-Release Status v0.1.X)
|
||||||
|
|
||||||
|
@ -14,6 +22,8 @@ If you have an feature request, please do not hesitate to open an issue or merge
|
||||||
Available Docker tags:
|
Available Docker tags:
|
||||||
- https://git.ucode.space/Phil/goshorly/container_registry/1
|
- https://git.ucode.space/Phil/goshorly/container_registry/1
|
||||||
|
|
||||||
|
|
||||||
|
## Install with Docker
|
||||||
Installation with Docker-Compose (with no reverse proxy / own proxy):
|
Installation with Docker-Compose (with no reverse proxy / own proxy):
|
||||||
```bash
|
```bash
|
||||||
mkdir goshorly
|
mkdir goshorly
|
||||||
|
@ -32,3 +42,6 @@ mv docker-compose-proxy.yml docker-compose.yml
|
||||||
nano docker-compose.yml # Change the command line on caddy to your domain & environment variables to your needs
|
nano docker-compose.yml # Change the command line on caddy to your domain & environment variables to your needs
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Install with Binary version
|
||||||
|
- WIP
|
Loading…
Reference in a new issue