Skip to content

chore(deps): update docker/setup-buildx-action digest to 8026d2b #109

chore(deps): update docker/setup-buildx-action digest to 8026d2b

chore(deps): update docker/setup-buildx-action digest to 8026d2b #109

Workflow file for this run

---
name: Release Flow
on:
push:
branches:
- main
jobs:
lint:
uses: ./.github/workflows/job-lint.yml
test:
uses: ./.github/workflows/job-test.yml
release:
needs:
- test
- lint
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
persist-credentials: false
- uses: cachix/install-nix-action@9f70348d77d0422624097c4b7a75563948901306 # v29
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6
with:
gpg_private_key: ${{ secrets.ZEBRADIL_BOT_GPG_PRIVATE_KEY }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.ZEBRADIL_BOT_GITHUB_TOKEN }}
GIT_AUTHOR_NAME: Zebradli Bot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: Zebradli Bot
GIT_COMMITTER_EMAIL: [email protected]
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/git
- name: Print committed changes
run: git show
- name: Install GoReleaser
if: steps.semantic.outputs.new_release_published == 'true'
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
install-only: true
- name: Setup QEMU
if: steps.semantic.outputs.new_release_published == 'true'
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
- name: Setup Docker Buildx
if: steps.semantic.outputs.new_release_published == 'true'
uses: docker/setup-buildx-action@8026d2bc3645ea78b0d2544766a1225eb5691f89 # v3
- name: Login to GHCR
if: steps.semantic.outputs.new_release_published == 'true'
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish release
if: steps.semantic.outputs.new_release_published == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
run: |
goreleaser release --clean \
--release-notes <(echo "${{ steps.semantic.outputs.new_release_notes }}")