Skip to content

Release πŸš€

Release πŸš€ #70

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/[email protected]
- 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