Compare commits

...

3 Commits

Author SHA1 Message Date
46e6217557 fix
Some checks failed
Build project / build (push) Successful in 1m29s
Publish / build (push) Failing after 1s
2025-06-24 10:52:17 +02:00
36f337434d Tag
Some checks failed
Build project / build (push) Has been cancelled
Publish / build (push) Failing after 1m7s
2025-06-24 10:47:51 +02:00
3f14d82679 Tag
Some checks failed
Build project / build (push) Has been cancelled
Publish / build (push) Failing after 1m11s
2025-06-24 10:42:24 +02:00

View File

@@ -23,11 +23,10 @@ jobs:
- name: Install ko - name: Install ko
run: go install github.com/google/ko@latest run: go install github.com/google/ko@latest
- name: Extract tag - name: Extract tag
id: get_tag
run: |
echo "tag=${GITEA_REF##refs/tags/}" >> "$GITEA_OUTPUT"
- name: Build - name: Build
env: env:
KO_DOCKER_REPO: registry.engen.priv.no/unifi-network-operator-controller KO_DOCKER_REPO: registry.engen.priv.no/unifi-network-operator-controller
PATH: /go/bin:$PATH PATH: ~/go/bin:$PATH
run: 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"