Skip to content

Commit 563c9b8

Browse files
authored
chore: remove gcr image publishing (#235)
Signed-off-by: Tomas Pizarro Moreno <[email protected]>
1 parent 8024eb7 commit 563c9b8

File tree

4 files changed

+6
-23
lines changed

4 files changed

+6
-23
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ jobs:
1414
uses: actions/checkout@v4
1515
- name: Unshallow
1616
run: git fetch --prune --unshallow
17-
- name: Docker login to GCR
18-
uses: docker/login-action@v3
19-
with:
20-
registry: gcr.io
21-
username: _json_key
22-
password: ${{ secrets.GCR_JSON_KEY }}
2317
- name: Set up Go
2418
uses: actions/setup-go@v5
2519
with:
@@ -28,6 +22,6 @@ jobs:
2822
uses: goreleaser/goreleaser-action@v6
2923
with:
3024
version: latest
31-
args: release --rm-dist
25+
args: release --clean
3226
env:
3327
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ builds:
1010
binary: charts-syncer
1111
ldflags:
1212
- -X main.version={{.Version}}
13-
dockers:
14-
-
15-
ids:
16-
- release
17-
dockerfile: Dockerfile
18-
image_templates:
19-
- "gcr.io/bitnami-labs/charts-syncer:{{ .Tag }}"
20-
- "gcr.io/bitnami-labs/charts-syncer:latest"
21-
build_flag_templates:
22-
- "--build-arg"
23-
- "IMAGE_VERSION={{ .Tag }}"
2413
archives:
2514
- format: tar.gz
2615
name_template: >-

deployment/cronjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
containers:
1414
- name: charts-syncer
1515
imagePullPolicy: Always
16-
image: gcr.io/bitnami-labs/charts-syncer:v0.14.0
16+
image: bitnami/charts-syncer:v2.0.2
1717
args: ["sync", "--config", "/charts-syncer.yaml", "-v", "4", "--latest-version-only"]
1818
env:
1919
# Helm Chart source repository credentials

deployment/kustomization.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ namespace: charts-syncer
55
commonLabels:
66
app: charts-syncer
77
images:
8-
- name: gcr.io/bitnami-labs/charts-syncer
8+
- name: bitnami/charts-syncer
99
# Set this value to the latest release
1010
# https://github.com/bitnami/charts-syncer/releases
11-
newTag: v0.20.1
11+
newTag: v2.0.2
1212

1313
resources:
1414
- cronjob.yaml
@@ -27,7 +27,7 @@ secretGenerator:
2727
envs:
2828
- config/secrets.env
2929
# You can also generate credentials from a file using files: directive
30-
# useful if you are loading creds from a GCR/ACR service account p12/json file
30+
# useful if you are loading creds from a GAR/ACR service account p12/json file
3131
# files:
32-
# - target-password=config/my_gcr_creds.json
32+
# - target-password=config/my_gar_creds.json
3333

0 commit comments

Comments
 (0)