This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
Merge pull request #338 from ublue-os/dependabot/go_modules/github.co… #203
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: Nightly Builds | |
on: | |
push: | |
branches: | |
- 'main' | |
permissions: | |
contents: write | |
# packages: write | |
# issues: write | |
jobs: | |
goreleaser: | |
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: '>=1.20.2' | |
cache: true | |
- | |
name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PAT }} | |
# More assembly might be required: Docker logins, GPG, etc. It all depends | |
# on your needs. | |
- uses: goreleaser/goreleaser-action@v5 | |
with: | |
# either 'goreleaser' (default) or 'goreleaser-pro': | |
distribution: goreleaser-pro | |
version: latest | |
args: release --clean --nightly | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' | |
# distribution: | |
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} |