build(deps): bump github.com/docker/docker from 27.5.1+incompatible t… #12
Workflow file for this run
This file contains hidden or 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: "Release for Windows" # TODO why is this separate from release.yaml? | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| tags: | |
| - "v[0-9]+.[0-9]+.[0-9]+" | |
| permissions: | |
| contents: "write" | |
| packages: "write" | |
| jobs: | |
| release-windows: | |
| runs-on: "windows-latest" | |
| steps: | |
| - uses: "actions/checkout@v6" | |
| with: | |
| fetch-depth: 0 | |
| - uses: "authzed/actions/setup-go@main" | |
| - uses: "nowsprinting/check-version-format-action@v4" | |
| id: "version" | |
| with: | |
| prefix: "v" | |
| - uses: "authzed/actions/docker-login@main" | |
| with: | |
| quayio_token: "${{ secrets.QUAYIO_PASSWORD }}" | |
| github_token: "${{ secrets.GITHUB_TOKEN }}" | |
| dockerhub_token: "${{ secrets.DOCKERHUB_ACCESS_TOKEN }}" | |
| - uses: "goreleaser/goreleaser-action@v6" | |
| with: | |
| distribution: "goreleaser-pro" | |
| # NOTE: keep in sync with goreleaser version in other job. | |
| # github actions don't allow yaml anchors. | |
| version: "v2.12.5" | |
| args: "release --clean --config=.goreleaser.windows.yml" | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}" | |
| CHOCOLATEY_API_KEY: "${{ secrets.CHOCOLATEY_API_KEY }}" | |
| - name: "Notify in Slack if failure" | |
| if: "${{ failure() }}" | |
| uses: "slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a" # v2.1.1 | |
| with: | |
| webhook: "${{ secrets.SLACK_BUILDS_WEBHOOK_URL }}" | |
| webhook-type: "incoming-webhook" | |
| payload: | | |
| text: "Release failure." | |
| blocks: | |
| - type: "section" | |
| text: | |
| type: "mrkdwn" | |
| text: | | |
| :x: @eng-oss Release failure. Please take a look. | |
| *Repository:* <${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}> |