Files
getidev/.gitea/workflows/release.yaml
T
CSRBot ea39ae6e20
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 12s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 6s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 12s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 6s
Lint Markdown files / Run markdown linter (pull_request) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 24s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 27s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 16s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 12s
chore(deps): update docker/login-action action to v4.4.0
2026-07-03 15:06:23 +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@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: stable
- uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.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@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
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}