Compare commits
5 Commits
v0.1.1-alp
...
v0.1.1-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| f406d470c1 | |||
| 7d52648e2e | |||
| 0146a0bfba | |||
| b562c200ba | |||
| 2485365728 |
@@ -2,7 +2,9 @@ name: Publish
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v[0-9]+.[0-9]+.[0-9]+(?:-{alpha,beta}[0-9]+)'
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
- 'v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+'
|
||||||
|
- 'v[0-9]+.[0-9]+.[0-9]+-beta[0-9]+'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -47,12 +49,17 @@ jobs:
|
|||||||
--bare
|
--bare
|
||||||
- name: Build manifest
|
- name: Build manifest
|
||||||
run: |
|
run: |
|
||||||
make build-installer
|
make IMG="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller:latest" build-installer
|
||||||
|
curl -X DELETE \
|
||||||
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
|
-H "Content-Type: application/x-yaml" \
|
||||||
|
https://gitea.engen.priv.no/api/packages/klauvsteinen/generic/unifi-network-operator/latest/install.yaml
|
||||||
curl -X PUT \
|
curl -X PUT \
|
||||||
-H "Authorization: token $GITEA_TOKEN" \
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
-H "Content-Type: application/x-yaml" \
|
-H "Content-Type: application/x-yaml" \
|
||||||
--data-binary @./dist/install.yaml \
|
--data-binary @./dist/install.yaml \
|
||||||
https://gitea.engen.priv.no/api/packages/klauvsteinen/generic/unifi-network-operator/latest/install.yaml
|
https://gitea.engen.priv.no/api/packages/klauvsteinen/generic/unifi-network-operator/latest/install.yaml
|
||||||
|
make IMG="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller:$TAG" build-installer
|
||||||
curl -X PUT \
|
curl -X PUT \
|
||||||
-H "Authorization: token $GITEA_TOKEN" \
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
-H "Content-Type: application/x-yaml" \
|
-H "Content-Type: application/x-yaml" \
|
||||||
|
|||||||
Reference in New Issue
Block a user