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