fix: docker login on remote host before pull private images
This commit is contained in:
1 parent
68bd241f2c
commit
04bb783a12
1 file changed
+6
@@ -22,6 +22,12 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to registry on remote host
|
||||
env:
|
||||
DOCKER_HOST: tcp://192.168.88.40:2375
|
||||
run: |
|
||||
echo "${{ secrets.CI_REGISTRY_TOKEN }}" | docker login git.allucanget.biz -u "${{ secrets.CI_REGISTRY_USER }}" --password-stdin
|
||||
|
||||
- name: Prepare environment
|
||||
run: |
|
||||
cat > .env << 'EOF'
|
||||
|
||||
Reference in new issue
Block a user