Compare commits

..

1 Commits

Author SHA1 Message Date
2817272082 Merge pull request 'fix tagging' (#3) from feature/fix-publish-pipeline into main
Some checks failed
Publish / build (push) Failing after 1m7s
Reviewed-on: #3
2025-06-24 08:35:30 +00:00

View File

@@ -23,10 +23,11 @@ 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: |
TAG=$(git describe --tags --abbrev=0)
~/go/bin/ko publish ./cmd --tags "$TAG,latest"
PATH: /go/bin:$PATH
run: ko publish ./cmd --tags "${{ steps.get_tag.outputs.tag }},latest"