From 6e9ebb5e617e8a8fe6331eddc0c65011927a6db0 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Wed, 22 Jan 2025 10:12:56 +0100 Subject: [PATCH] fix(ci): omit import path in container images --- .github/workflows/lint.yml | 6 ++++++ .github/workflows/release.yml | 6 ------ .goreleaser.yaml | 2 +- config/release/default/kustomization.yaml | 2 +- docs/api/supabase.k8s.icb4dc0.de.md | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 985658d..a68de56 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,6 +19,12 @@ jobs: cache-dependency-path: go.sum check-latest: true + - id: govulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-file: go.mod + go-package: ./... + - name: Run linter uses: golangci/golangci-lint-action@v6 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ee96b5..384e548 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,12 +31,6 @@ jobs: go mod download go mod download -modfile tools/go.mod - - id: govulncheck - uses: golang/govulncheck-action@v1 - with: - go-version-file: go.mod - go-package: ./... - - name: Snapshot release uses: goreleaser/goreleaser-action@v6 if: ${{ !startsWith(github.ref, 'refs/tags/v') }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3c6f002..46912eb 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -39,7 +39,7 @@ kos: creation_time: "{{.CommitTimestamp}}" bare: true preserve_import_paths: false - base_import_paths: true + base_import_paths: false changelog: sort: asc diff --git a/config/release/default/kustomization.yaml b/config/release/default/kustomization.yaml index 97de90d..d5bad87 100644 --- a/config/release/default/kustomization.yaml +++ b/config/release/default/kustomization.yaml @@ -4,7 +4,7 @@ kind: Kustomization images: - name: supabase-operator newName: code.icb4dc0.de/prskr/supabase-operator - newTag: 0.0.0-SNAPSHOT-03270ec + newTag: 0.1.0-SNAPSHOT-e6c7d68 resources: - ../../default diff --git a/docs/api/supabase.k8s.icb4dc0.de.md b/docs/api/supabase.k8s.icb4dc0.de.md index 1687f60..bfa2599 100644 --- a/docs/api/supabase.k8s.icb4dc0.de.md +++ b/docs/api/supabase.k8s.icb4dc0.de.md @@ -369,7 +369,7 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | | `dsn` _string_ | | | | -| `dsnFrom` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#secretkeyselector-v1-core)_ | | | | +| `dsnSecretRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#secretkeyselector-v1-core)_ | | | | | `roles` _[DatabaseRoles](#databaseroles)_ | | | |