Compare commits
1 Commits
v.0.0.1
...
2817272082
| Author | SHA1 | Date | |
|---|---|---|---|
| 2817272082 |
@@ -23,10 +23,11 @@ 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: |
|
run: ko publish ./cmd --tags "${{ steps.get_tag.outputs.tag }},latest"
|
||||||
TAG=$(git describe --tags --abbrev=0)
|
|
||||||
~/go/bin/ko publish ./cmd --tags "$TAG,latest"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user