Skip to content

Commit

Permalink
reverting back the support for s390x which has been removed temporarily(
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaramsingana authored Aug 30, 2024
1 parent 06a816d commit ef2ee17
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,6 +52,10 @@ 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
Expand All @@ -69,7 +75,13 @@ jobs:
IdentityFile "~/.ssh/id_builder_ppc64le"
$BUILDER_PPC64LE_SSH_CONFIG
Host builder-s390x
StrictHostKeyChecking no
HostName $BUILDER_S390X_SSH_HOST
User wfuser
IdentityFile "~/.ssh/id_builder_s390x"
END
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
Expand All @@ -79,7 +91,8 @@ jobs:
platforms: linux/arm64
- endpoint: ssh://builder-ppc64le
platforms: linux/ppc64le
- endpoint: ssh://builder-s390x
platforms: linux/s390x
- name: Login to Quay.io
uses: docker/login-action@v1
with:
Expand All @@ -93,7 +106,6 @@ jobs:
env:
TAG: ${{ steps.version-from-branch.outputs.version }}${{ env.TAG_SUFFIX }}
with:
platforms: linux/amd64,linux/arm64,linux/ppc64le
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_NAME }}:${{ github.event.inputs.tag || env.TAG }}

0 comments on commit ef2ee17

Please sign in to comment.