ci: fix docker auth using frankchine and DOCKERHUB_TOKEN secret

This commit is contained in:
fchinembiri 2026-05-08 19:48:09 +02:00
parent b77aa3b1c8
commit 2c71bc45d5
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Set up Docker config
run: |
mkdir -p .docker
echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$(echo -n \"${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}\" | base64 | tr -d '\n')\"}}}" > .docker/config.json
echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$(echo -n \"frankchine:${{ secrets.DOCKERHUB_TOKEN }}\" | base64 | tr -d '\n')\"}}}" > .docker/config.json
- name: Build and Push with Kaniko
uses: docker://gcr.io/kaniko-project/executor:debug