Skip to content

Commit baf32f1

Browse files
Merge pull request #404 from alexrecuenco-hf/feat/new-registry-change
feat: Modify registry from DockerHub to GHCR
2 parents 458693a + 7c99d4a commit baf32f1

5 files changed

Lines changed: 34 additions & 20 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,35 @@ on:
55
types:
66
- created
77

8+
permissions:
9+
contents: read
10+
packages: write
11+
12+
env:
13+
REGISTRY: ghcr.io
14+
815
jobs:
916
goreleaser:
1017
name: Build binary and Docker image
1118
runs-on: ubuntu-latest
1219
steps:
1320
- name: Checkout
14-
uses: actions/checkout@v3
21+
uses: actions/checkout@v6
1522

1623
- name: Setup Golang
17-
uses: actions/setup-go@v3
24+
uses: actions/setup-go@v6
1825
with:
1926
go-version: '^1.17'
2027

21-
- name: Docker Login
22-
if: success() && startsWith(github.ref, 'refs/tags/')
23-
env:
24-
DOCKER_USERNAME: hellofreshtech
25-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
26-
run: |
27-
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
28+
- name: Log in to the Container registry
29+
uses: docker/login-action@v3
30+
with:
31+
registry: ${{ env.REGISTRY }}
32+
username: ${{ github.actor }}
33+
password: ${{ secrets.GITHUB_TOKEN }}
2834

2935
- name: Run GoReleaser
30-
uses: goreleaser/goreleaser-action@v3
36+
uses: goreleaser/goreleaser-action@v6
3137
if: success() && startsWith(github.ref, 'refs/tags/')
3238
with:
3339
version: v1.2.2

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dockers:
1919
- goos: linux
2020
goarch: amd64
2121
image_templates:
22-
- "hellofresh/kangal:latest"
23-
- "hellofresh/kangal:{{.Tag}}"
22+
- "ghcr.io/hellofresh/kangal:latest"
23+
- "ghcr.io/hellofresh/kangal:{{.Tag}}"
2424
dockerfile: Dockerfile
2525
extra_files:
2626
- openapi.json

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
Run performance tests in Kubernetes cluster with Kangal.
77
___
88

9+
> [!WARNING]
10+
> Kangal's upload to DockerHub has been removed
11+
> We apologize for the disruption, but you can get the image from `ghcr.io/hellofresh/kangal` from January 31st 2026
12+
>
13+
> The registry in DockerHub will not be available from February-onwards
14+
915
## Table of content
1016
- [Why Kangal?](#why-kangal)
1117
- [Key features](#key-features)

charts/kangal/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords:
66
- performance tests
77
- tests runner
88
name: kangal
9-
version: 2.3.0
9+
version: 2.3.1
1010
home: https://github.com/hellofresh/kangal
1111
icon: https://raw.githubusercontent.com/hellofresh/kangal/master/logo.svg
1212
maintainers:

charts/kangal/values.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ proxy:
1111
replicaCount: 2
1212

1313
image:
14-
repository: hellofresh/kangal
14+
repository: ghcr.io/hellofresh/kangal
1515
tag: latest
1616
pullPolicy: Always
1717

@@ -33,7 +33,8 @@ proxy:
3333
hosts:
3434
http: kangal-proxy.example.com
3535

36-
resources: {}
36+
resources:
37+
{}
3738
# We usually recommend not to specify default resources and to leave this as a conscious
3839
# choice for the user. This also increases chances charts run on environments with little
3940
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -89,7 +90,7 @@ controller:
8990
replicaCount: 1
9091

9192
image:
92-
repository: hellofresh/kangal
93+
repository: ghcr.io/hellofresh/kangal
9394
tag: latest
9495
pullPolicy: Always
9596

@@ -107,7 +108,8 @@ controller:
107108
containerPorts:
108109
http: 8080
109110

110-
resources: {}
111+
resources:
112+
{}
111113
# We usually recommend not to specify default resources and to leave this as a conscious
112114
# choice for the user. This also increases chances charts run on environments with little
113115
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -187,11 +189,11 @@ configMap:
187189
AWS_ENDPOINT_URL: s3.us-east-1.amazonaws.com
188190
AWS_BUCKET_NAME: my-bucket
189191
AWS_USE_HTTPS: "false"
190-
GHZ_IMAGE_NAME: hellofresh/kangal-ghz
192+
GHZ_IMAGE_NAME: ghcr.io/hellofresh/kangal-ghz
191193
GHZ_IMAGE_TAG: latest
192-
JMETER_MASTER_IMAGE_NAME: hellofresh/kangal-jmeter-master
194+
JMETER_MASTER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter/master
193195
JMETER_MASTER_IMAGE_TAG: latest
194-
JMETER_WORKER_IMAGE_NAME: hellofresh/kangal-jmeter-worker
196+
JMETER_WORKER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter/worker
195197
JMETER_WORKER_IMAGE_TAG: latest
196198
LOCUST_IMAGE_NAME: locustio/locust
197199
LOCUST_IMAGE_TAG: "1.3.0"

0 commit comments

Comments
 (0)