Skip to content

chore(deps): update alpine docker tag to v3.23.4 (#422) #391

chore(deps): update alpine docker tag to v3.23.4 (#422)

chore(deps): update alpine docker tag to v3.23.4 (#422) #391

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0
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@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.ZEBRADIL_BOT_GITHUB_TOKEN }}
GIT_AUTHOR_NAME: Zebradli Bot
GIT_AUTHOR_EMAIL: german.lashevich+github-zebradil-bot@gmail.com
GIT_COMMITTER_NAME: Zebradli Bot
GIT_COMMITTER_EMAIL: german.lashevich+github-zebradil-bot@gmail.com
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@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0
with:
install-only: true
- name: Setup QEMU
if: steps.semantic.outputs.new_release_published == 'true'
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
- name: Setup Docker Buildx
if: steps.semantic.outputs.new_release_published == 'true'
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- name: Login to GHCR
if: steps.semantic.outputs.new_release_published == 'true'
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
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 }}")