fix
Some checks failed
Build project / build (push) Successful in 1m29s
Publish / build (push) Failing after 1s

This commit is contained in:
2025-06-24 10:52:17 +02:00
parent 36f337434d
commit 46e6217557

View File

@@ -23,11 +23,10 @@ jobs:
- name: Install ko
run: go install github.com/google/ko@latest
- name: Extract tag
id: get_tag
run: |
echo "tag=${GITEA_REF##refs/tags/}" >> "$GITEA_OUTPUT"
- name: Build
env:
KO_DOCKER_REPO: registry.engen.priv.no/unifi-network-operator-controller
PATH: ~/go/bin:$PATH
run: ~/go/bin/ko publish ./cmd --tags "${{ steps.get_tag.outputs.tag }},latest"
run: |
TAG=$(git describe --tags --abbrev=0)
~/go/bin/ko publish ./cmd --tags "$TAG,latest"