Correct tag
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 9s Details

This commit is contained in:
Roland Thomas 2023-06-10 19:53:04 -04:00
parent b5af7df201
commit b415e8e0a0
1 changed files with 4 additions and 2 deletions

View File

@ -23,14 +23,16 @@ jobs:
- name: Pass login information
env:
DOCKER_AUTH_CONFIG: ${{ secrets.DOCKER_AUTH_CONFIG }}
DAEMON_JSON: ${{ secrets.DAEMON_JSON }}
run: |
docker info
mkdir -p $HOME/.docker
echo "$DOCKER_AUTH_CONFIG" | base64 -d > $HOME/.docker/config.json
echo "$DAEMON_JSON" | base64 -d > $HOME/.docker/config.json
- name: Build Docker Image
env:
GITEA_WORKSPACE: ${{ gitea.workspace }}
run: |
cd "$GITEA_WORKSPACE"
docker build -f Dockerfile -t 192.168.1.100:3000/roland/rtj.dev:0.0.1 .
docker push 192.168.1.100:3000/roland/rtj.dev:0.0.1
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