chore: Updated vault versions & go 1.22 #20
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: goreleaser | |
on: | |
push: | |
tags: | |
- "v*" | |
tags_ignore: | |
- "*-test" | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.1 | |
- name: Install cross-compile package | |
run: | | |
sudo apt update | |
sudo apt install -y gcc gcc-aarch64-linux-gnu musl build-essential | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
- name: Docker login | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.docker_username }} | |
password: ${{ secrets.docker_password }} | |
- name: Run GoReleaser - Docker images | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
distribution: goreleaser | |
args: release --debug | |
env: | |
GOPATH: ${{ env.GOPATH }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |