diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cef05c3..fb84e1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ name: Create and publish a Docker image on: push: tags: ['*'] - branches: ['master'] + branches: ['main'] env: REGISTRY: ghcr.io diff --git a/charts/golang-gin-starter/values.yaml b/charts/golang-gin-starter/values.yaml index 216940a..c59ebef 100644 --- a/charts/golang-gin-starter/values.yaml +++ b/charts/golang-gin-starter/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: eu.gcr.io/woven-computing-234012/golang-gin-starter - tag: master + tag: main pullPolicy: Always nameOverride: "" diff --git a/kubernetic.yaml b/kubernetic.yaml deleted file mode 100644 index f0d7b61..0000000 --- a/kubernetic.yaml +++ /dev/null @@ -1,12 +0,0 @@ -images: - - name: woven-computing-234012/golang-gin-starter - path: Dockerfile - context: . - tags: - - ${GIT_BRANCH} -charts: - - charts/golang-gin-starter -rollouts: - - resource: deployment/golang-gin-starter - namespace: starters-pro - branch: master diff --git a/main.go b/main.go index 9c87e74..0e87cc7 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( // @contact.email contact@harbur.io // @license.name MIT -// @license.url https://github.com/harbur/golang-gin-starter/blob/master/LICENSE +// @license.url https://github.com/harbur/golang-gin-starter/blob/main/LICENSE // @BasePath /api/ func main() {