Compare commits
6 Commits
feature/ko
...
v.0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 46e6217557 | |||
| 36f337434d | |||
| 3f14d82679 | |||
| 1545f05d53 | |||
| 47116c70b5 | |||
| 7e6573deb4 |
@@ -22,5 +22,11 @@ jobs:
|
||||
run: git config --global url.git@gitea-ssh.engen.priv.no:.insteadOf https://gitea.engen.priv.no/
|
||||
- name: Install ko
|
||||
run: go install github.com/google/ko@latest
|
||||
- name: Extract tag
|
||||
- name: Build
|
||||
run: KO_DOCKER_REPO=registry.engen.priv.no/unifi-network-operator-controller PATH=~/go/bin:$PATH ko publish ./cmd --tags latest --bare
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user