chore(deps): update golang docker tag to v1.21.4 #50
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
run: | | |
docker buildx bake lint | |
- name: Vet | |
run: | | |
docker buildx bake vet | |
- name: Gosec | |
run: | | |
docker buildx bake gosec | |
- name: Unit tests | |
run: | | |
docker buildx bake test | |
- name: Build and release binaries | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} | |
run: | | |
docker buildx build \ | |
--target publish \ | |
--build-arg GITHUB_TOKEN \ | |
--build-arg ACTIONS_ID_TOKEN_REQUEST_URL \ | |
--build-arg ACTIONS_ID_TOKEN_REQUEST_TOKEN \ | |
. |