Skip to content

Build container

Build container #5

Workflow file for this run

name: Build container
on:
workflow_run:
workflows:
- "Build"
branches:
- "main"
types:
- completed
push:
tags:
- "v*.*.*"
jobs:
container:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Build and push container
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23.1'
- name: Make version
run: make version.go
- uses: ko-build/[email protected]
- run: ko build --bare