Skip to content

Commit 2f9cda0

Browse files
committed
fix: Add namespace to dockerhub secret
1 parent 3ea54ca commit 2f9cda0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/github-to-k8s-sync-env.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ jobs:
226226
--docker-server=https://index.docker.io/v1/ \
227227
--docker-username="$DOCKERHUB_USERNAME" \
228228
--docker-password="$DOCKERHUB_TOKEN" \
229+
--namespace="${NAMESPACE_TEMPLATE}-${{ inputs.environment }}" \
229230
--dry-run=client -o yaml > "k8s-secrets/$DOCKERHUB_SECRET_NAME.yaml"
230231
echo "✅ Generated Docker Registry Secret manifest: k8s-secrets/$DOCKERHUB_SECRET_NAME.yaml"
231232
else

0 commit comments

Comments
 (0)