shorter actions path

This commit is contained in:
techknowlogick 2024-04-08 16:41:04 +00:00
parent 16a3594474
commit 218b991069
1 changed files with 3 additions and 6 deletions

View File

@ -12,18 +12,17 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: setup go
uses: https://github.com/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.1'
- name: import gpg
id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
- name: goreleaser
uses: https://github.com/goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser-pro
version: latest
@ -39,8 +38,6 @@ jobs:
GPGSIGN_PASSPHRASE: ${{ secrets.GPGSIGN_PASSPHRASE }}
release-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
env:
DOCKER_ORG: gitea
DOCKER_LATEST: nightly