Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit fdb3a1d

Browse files
committed
Removed GH Registry && Added Docker Hub
1 parent a6ca238 commit fdb3a1d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
workflow_dispatch:
77

88
env:
9-
REGISTRY: ghcr.io
10-
IMAGE_NAME: ${{ github.repository }}
9+
REGISTRY: docker.io
10+
IMAGE_NAME: barckcode/oncall-slack-bot # Cambiar por tu usuario de Docker Hub
1111
VERSION: "1.0.4"
1212

1313
jobs:
@@ -40,9 +40,8 @@ jobs:
4040
- name: Log in to Container Registry
4141
uses: docker/login-action@v3
4242
with:
43-
registry: ${{ env.REGISTRY }}
44-
username: ${{ github.actor }}
45-
password: ${{ secrets.GITHUB_TOKEN }}
43+
username: ${{ secrets.DOCKER_USERNAME }}
44+
password: ${{ secrets.DOCKER_PASSWORD }}
4645

4746
- name: Build and push Docker image
4847
uses: docker/build-push-action@v5
@@ -56,7 +55,7 @@ jobs:
5655
- name: Update Helm chart
5756
run: |
5857
# Update image tag in values.yaml
59-
sed -i "s|repository: ghcr.io/.*|repository: ghcr.io/${{ github.repository }}|" helm/oncall-slack-bot/values.yaml
58+
sed -i "s|repository: .*|repository: ${{ env.IMAGE_NAME }}|" helm/oncall-slack-bot/values.yaml
6059
sed -i "s/tag: \".*\"/tag: \"${{ env.VERSION }}\"/" helm/oncall-slack-bot/values.yaml
6160
6261
# Update chart version

helm/oncall-slack-bot/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Imagen del bot
22
image:
3-
repository: ghcr.io/helmcode/oncall-slack-bot
3+
repository: barckcode/oncall-slack-bot
44
tag: "1.0.4"
55
pullPolicy: IfNotPresent
6-
imagePullSecrets: ghcr-creds
76

87
# Vault configuration
98
vault:

0 commit comments

Comments
 (0)