From 08a3406a9bc2fb53e8f1f958148852a687f3cc53 Mon Sep 17 00:00:00 2001 From: Roland Thomas Date: Sat, 10 Jun 2023 18:29:28 -0400 Subject: [PATCH] Correct build and base64 --- .gitea/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 825c01f..f3ae120 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -23,9 +23,12 @@ jobs: run: | docker info mkdir -p $HOME/.docker - echo "$DOCKER_AUTH_CONFIG" > $HOME/.docker/config.json + echo "$DOCKER_AUTH_CONFIG" | base64 -d > $HOME/.docker/config.json - name: Build Docker Image + env: + GITEA_WORKSPACE: ${{ gitea.workspace }} run: | - docker build -f Dockerfile -t rtj.dev:0.0.1 + cd "$GITEA_WORKSPACE" + docker build -f Dockerfile -t rtj.dev:0.0.1 . docker push rtj.dev:0.0.1