diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c921000..8a0daa1 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -20,15 +20,11 @@ jobs: run: | echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner." - name: Pass login information - env: - DOCKER_AUTH_CONFIG: ${{ secrets.DOCKER_AUTH_CONFIG }} run: | mkdir -p $HOME/.docker - echo "$DOCKER_AUTH_CONFIG" | base64 -d > $HOME/.docker/config.json + echo "${{ secrets.DOCKER_AUTH_CONFIG }}" | base64 -d > $HOME/.docker/config.json - name: Build Docker Image - env: - GITEA_WORKSPACE: ${{ gitea.workspace }} run: | - cd "$GITEA_WORKSPACE" + cd ${{ gitea.workspace }} docker build -f Dockerfile -t git.rtj.dev/roland/rtj.dev:0.0.1 . docker push git.rtj.dev/roland/rtj.dev:0.0.1