Skip to content

Commit

Permalink
build(deps): reverting back the support for s390x which has been remo…
Browse files Browse the repository at this point in the history
…ved temporarily(PROJECTQUAY-7960) (quay#3180)

Reverting back the support for s390x which has been removed temporarily( quay#3157 )
  • Loading branch information
sivaramsingana authored Sep 24, 2024
1 parent 28d1842 commit 3181dfc
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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,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 <<END
Expand All @@ -68,7 +74,13 @@ jobs:
Host builder-ppc64le
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
Expand All @@ -79,6 +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
Expand All @@ -93,7 +107,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 3181dfc

Please sign in to comment.