Use docker-login action
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 6s
Details
rtj.dev Build and Deploy / Build-and-Deploy (push) Failing after 6s
Details
This commit is contained in:
parent
b25856ab60
commit
f4e91dff49
|
@ -19,10 +19,12 @@ jobs:
|
|||
- name: Print repository name
|
||||
run: |
|
||||
echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner."
|
||||
- name: Pass login information
|
||||
run: |
|
||||
mkdir -p $HOME/.docker
|
||||
echo "${{ secrets.DOCKER_AUTH_CONFIG }}" | base64 -d > $HOME/.docker/config.json
|
||||
- name: Login to container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.rtj.dev
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
cd ${{ gitea.workspace }}
|
||||
|
|
Loading…
Reference in New Issue