Correct build and base64

This commit is contained in:
Roland Thomas 2023-06-10 18:29:28 -04:00
parent b9bacf0654
commit 08a3406a9b
1 changed files with 5 additions and 2 deletions

View File

@ -23,9 +23,12 @@ jobs:
run: | run: |
docker info docker info
mkdir -p $HOME/.docker 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 - name: Build Docker Image
env:
GITEA_WORKSPACE: ${{ gitea.workspace }}
run: | 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 docker push rtj.dev:0.0.1