Skip to content

chore: Updated vault versions & go 1.22 #20

chore: Updated vault versions & go 1.22

chore: Updated vault versions & go 1.22 #20

Workflow file for this run

---
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 }}