Use docker-login action
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 6s Details

This commit is contained in:
Roland Thomas Jr 2024-02-16 17:53:09 -05:00
parent b25856ab60
commit f4e91dff49
Signed by: roland
GPG Key ID: 7C3C2B085A4C2872
1 changed files with 6 additions and 4 deletions

View File

@ -19,10 +19,12 @@ jobs:
- name: Print repository name - name: Print repository name
run: | run: |
echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner." echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner."
- name: Pass login information - name: Login to container registry
run: | uses: docker/login-action@v3
mkdir -p $HOME/.docker with:
echo "${{ secrets.DOCKER_AUTH_CONFIG }}" | base64 -d > $HOME/.docker/config.json registry: git.rtj.dev
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Build Docker Image - name: Build Docker Image
run: | run: |
cd ${{ gitea.workspace }} cd ${{ gitea.workspace }}