Skip to content

Fix Azure Cluster Identity Secret Field #27

Fix Azure Cluster Identity Secret Field

Fix Azure Cluster Identity Secret Field #27

Workflow file for this run

name: Release
on:
push:
tags:
- "*.*"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- name: Set up Go 1.23
uses: actions/setup-go@v1
with:
go-version: '1.23'
id: go
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: '18'
check-latest: true
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Print version info
id: semver
run: |
make version
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Prepare git
env:
GITHUB_USER: 1gtm
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
run: |
set -x
git config --global user.name "${GITHUB_USER}"
git config --global user.email "${GITHUB_USER}@appscode.com"
git config --global \
url."https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com".insteadOf \
"https://github.com"
- name: Build
env:
APPSCODE_ENV: prod
run: |
make release COMPRESS=yes
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
bin/capi-config-darwin-amd64.tar.gz
bin/capi-config-darwin-arm64.tar.gz
bin/capi-config-linux-amd64.tar.gz
bin/capi-config-linux-arm.tar.gz
bin/capi-config-linux-arm64.tar.gz
bin/capi-config-windows-amd64.zip
bin/capi-config-checksums.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}