Skip to content

fixing self env sharing for vaults; temporarily disabling validation … #19

fixing self env sharing for vaults; temporarily disabling validation …

fixing self env sharing for vaults; temporarily disabling validation … #19

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setting SLV Version
run: echo "SLV_VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
- name: GoReleaser - Release SLV
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_SSH_KEY: ${{ secrets.HOMEBREW_SSH_KEY }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Release SLV Image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ env.SLV_VERSION }}
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:latest
- name: Release SLV K8s Operator Image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
file: operator/Dockerfile
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}/operator:${{ env.SLV_VERSION }}
ghcr.io/${{ github.repository }}/operator:${{ github.ref_name }}
ghcr.io/${{ github.repository }}/operator:latest