Merge pull request #962 from buildtool/dependabot/docker/debian-bulls… #1221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check release | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
check-latest: 'true' | |
- name: Release | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
version: latest | |
args: release --skip=validate,publish --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} | |
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} |