diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index cff05bd2..32e9c50f 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -27,6 +27,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: auth + uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -49,4 +53,4 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.service }}:latest - ssh: ${{ secrets.SSH_PRIVATE_KEY }} + ssh: default