Correct tag
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 9s
Details
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 9s
Details
This commit is contained in:
parent
b5af7df201
commit
b415e8e0a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue