name: nightly-oss on: workflow_dispatch: schedule: - cron: 0 0 * * 4 permissions: contents: write id-token: write packages: write jobs: goreleaser: runs-on: ubuntu-latest env: DOCKER_CLI_EXPERIMENTAL: "enabled" steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3 with: fetch-depth: 0 - uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v1 with: version: 3.x repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v2 - uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v4 with: go-version: stable - uses: sigstore/cosign-installer@v3.4.0 - uses: anchore/sbom-action/download-syft@v0.15.10 - uses: crazy-max/ghaction-upx@v3 with: install-only: true - uses: cachix/install-nix-action@v26 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - name: dockerhub-login uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: ghcr-login uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser-pro version: nightly args: release --clean --nightly -f .goreleaser-nightly.yaml --timeout 60m env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}