docker login for deploy
This commit is contained in:
@@ -78,6 +78,9 @@ jobs:
|
|||||||
ls -la
|
ls -la
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
|
echo "${{ secrets.REGISTRY_PASSWORD }}" | \
|
||||||
|
docker login ${{ env.REGISTRY }} -u ${{ secrets.REGISTRY_USER }} --password-stdin
|
||||||
|
|
||||||
mkdir -p "/app-cache/${{ gitea.repository }}"
|
mkdir -p "/app-cache/${{ gitea.repository }}"
|
||||||
cd "/app-cache/${{ gitea.repository }}"
|
cd "/app-cache/${{ gitea.repository }}"
|
||||||
if [ ! -d .git ]; then
|
if [ ! -d .git ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user