From 3296c5a11e9bc0c0f20ae6e7633b6d0ba37fb9b1 Mon Sep 17 00:00:00 2001 From: Marcin Kozlowski Date: Wed, 3 Jul 2024 12:10:13 +0200 Subject: [PATCH] Update docker-build.yml Signed-off-by: Marcin Kozlowski --- .github/workflows/docker-build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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