Correct build and base64
This commit is contained in:
parent
b9bacf0654
commit
08a3406a9b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue