ci: refine docker auth escaping
Build and Push Docker Images / deploy (push) Blocked by required conditions Details
Build and Push Docker Images / build (api) (push) Successful in 53s Details
Build and Push Docker Images / build (web) (push) Successful in 2m5s Details
Build and Push Docker Images / build (worker) (push) Has been cancelled Details

This commit is contained in:
fchinembiri 2026-05-08 19:58:53 +02:00
parent a0825a0933
commit 270eeb751f
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -3,3 +3,4 @@ trigger 3
trigger 4
trigger 5
Trigger CI with fixed auth
Trigger CI with refined auth