diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index bb0c37fc19..8957f3e3d4 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -30,7 +30,7 @@ jobs: run: | BRANCH_NAME=${GITHUB_REF#refs/heads/} echo "version=${BRANCH_NAME/${{ env.BRANCH_PREFIX }}/}" >> $GITHUB_OUTPUT - + - name: Setup SSH config for builders env: BUILDER_AARCH64_SSH_CONFIG: ${{ secrets.BUILDER_AARCH64_SSH_CONFIG }} @@ -39,6 +39,8 @@ jobs: BUILDER_PPC64LE_SSH_CONFIG: ${{ secrets.BUILDER_PPC64LE_SSH_CONFIG }} BUILDER_PPC64LE_SSH_KEY: ${{ secrets.BUILDER_PPC64LE_SSH_KEY }} BUILDER_PPC64LE_SSH_KNOWN_HOSTS: ${{ secrets.BUILDER_PPC64LE_SSH_KNOWN_HOSTS }} + BUILDER_S390X_SSH_HOST: ${{ secrets.BUILDER_S390X_SSH_HOST }} + BUILDER_S390X_SSH_KEY: ${{ secrets.BUILDER_S390X_SSH_KEY }} run: | mkdir ~/.ssh chmod 700 ~/.ssh @@ -50,7 +52,11 @@ jobs: touch ~/.ssh/id_builder_ppc64le chmod 600 ~/.ssh/id_builder_ppc64le echo "$BUILDER_PPC64LE_SSH_KEY" >~/.ssh/id_builder_ppc64le - + + touch ~/.ssh/id_builder_s390x + chmod 600 ~/.ssh/id_builder_s390x + echo "$BUILDER_S390X_SSH_KEY" > ~/.ssh/id_builder_s390x + touch ~/.ssh/known_hosts chmod 600 ~/.ssh/known_hosts cat >~/.ssh/known_hosts <