Skip to content

chore(mise): update aqua:siderolabs/talos ( 1.10.2 → 1.10.3 ) #268

chore(mise): update aqua:siderolabs/talos ( 1.10.2 → 1.10.3 )

chore(mise): update aqua:siderolabs/talos ( 1.10.2 → 1.10.3 ) #268

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Goreleaser
permissions: { contents: read }
on:
release: { types: [published] } # wet run
push: # dry run
paths:
- .github/workflows/goreleaser.yaml
- .goreleaser.yaml
- ".mise.toml"
- "**.go"
- "go.mod"
- "go.sum"
workflow_dispatch:
inputs:
dry-run:
description: Dry Run
required: false
default: false
type: boolean
jobs:
goreleaser:
if: github.repository_owner == 'mirceanton' # ? don't run on forks -> missing repo secrets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: { fetch-depth: 0 }
- name: Setup mise
uses: jdx/mise-action@13abe502c30c1559a5c37dff303831bab82c9402 # v2.2.3
- name: Run goreleaser (dry-run)
if: github.event_name != 'release' || inputs.dry-run == 'true'
run: goreleaser --snapshot
env: { TAP_GITHUB_TOKEN: "${{ secrets.GHCR_RW_TOKEN }}" }
- name: Generate Token
if: github.event_name == 'release' || inputs.dry-run == 'false'
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Login to Container Registry
if: github.event_name == 'release' || inputs.dry-run == 'false'
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: "ghcr.io"
username: "${{ github.actor }}"
password: "${{ secrets.GHCR_RW_TOKEN }}"
- name: Run goreleaser
if: github.event_name == 'release' || inputs.dry-run == 'false'
run: mise exec -- goreleaser --clean
env:
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
TAP_GITHUB_TOKEN: "${{ secrets.GHCR_RW_TOKEN }}"