Testing actions
rtj.dev Build and Deploy / Build-and-Deploy (push) Successful in 7s Details

This commit is contained in:
Roland Thomas Jr 2023-06-15 10:07:15 -04:00
parent 9c50e83d6c
commit 9aff76fadf
Signed by: roland
GPG Key ID: 7C3C2B085A4C2872
1 changed files with 2 additions and 6 deletions

View File

@ -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