Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Merge pull request #339 from ublue-os/dependabot/go_modules/golang.or… #204

Merge pull request #339 from ublue-os/dependabot/go_modules/golang.or…

Merge pull request #339 from ublue-os/dependabot/go_modules/golang.or… #204

Workflow file for this run

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 }}