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
|
- 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 }}
|
||||||
|
|
Loading…
Reference in New Issue