Files
getidev/.gitea/workflows/release.yaml
T
CSRBot 49cd46a504
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 15s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 16s
Lint Markdown files / Run markdown linter (pull_request) Successful in 5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 32s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 12s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 31s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 13s
chore(deps): pin dependencies
2026-06-07 18:07:09 +00:00

53 lines
1.8 KiB
YAML

name: "Release"
on:
push:
tags: [ '**' ]
permissions:
contents: write
jobs:
release:
name: "Release application"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: stable
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- env:
GITEA_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
GONOSUMDB: ${{ vars.GONOSUMDB }}
GOPROXY: ${{ vars.GOPROXY }}
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
with:
version: v2.16.0 # renovate: datasource=github-releases depName=goreleaser/goreleaser
args: release --clean
# sync-to-hub-docker-io:
# name: "Upload Images to docker.io"
# needs:
# - release
# runs-on: ubuntu-latest
# steps:
# - name: Copy images to docker.io
# run: |
# TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
# apt-get update --yes
# apt-get install --yes skopeo
# skopeo copy \
# --all \
# --dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
# --dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
# --src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
# --src-username volker.raschek \
# docker://git.cryptic.systems/volker.raschek/getidev:${TAG} \
# docker://docker.io/volkerraschek/getidev:${TAG}