add experimental message #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create and publish a Container image | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- 'v*' | |
workflow_dispatch: {} | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: ko-build/setup-ko@v0.6 | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
- run: ko publish --bare --tags "${{ steps.meta.outputs.tags }},latest" ./cmd/prel |