Files
getidev/.gitea/workflows/release.yaml
T
CSRBot fea31ee829
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 16s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 26s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 19s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 7s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 7s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 26s
Lint Markdown files / Run markdown linter (pull_request) Successful in 8s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 13s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 14s
chore(deps): update goreleaser/goreleaser-action action to v7.3.0
2026-10-12 22:03:35 +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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: stable
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.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@a4f02ab5355a589de60d917a659ce617ed19b3de # v7.3.0
with:
version: v2.18.3 # 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}