Skip to content

v1.20.0

v1.20.0 #72

Workflow file for this run

name: Release 🚀
on:
release:
types:
- created
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release binaries and container images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: ko-build/setup-ko@v0.6
- uses: actions/setup-node@v4
with:
node-version-file: web/package.json
cache: 'npm'
cache-dependency-path: |
web/package-lock.json
- name: Build
env:
VERSION: ${{ github.ref_name }}
TAGS: ${{ github.ref_name }},${{ github.sha }},latest
shell: bash
run: |
./build.sh "$VERSION"
export KO_DOCKER_REPO="ghcr.io/${GITHUB_REPOSITORY@L}"
ko build --bare --platform=all --tags=$TAGS ./cmd/bf
- uses: actions/upload-artifact@v3
with:
name: bifrost
path: |
bin/*
docs/ca-openapi.yml
- uses: softprops/action-gh-release@v1
with:
append_body: true
generate_release_notes: true
files: |
bin/*
docs/ca-openapi.yml