Fix ppc64le and x64 toolchains #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push a toolchain image | |
on: | |
push: | |
branches: | |
- main | |
pull_request: # XXX | |
jobs: | |
toolchain: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [ppc64le, s390x, x64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: ARCH=${{ matrix.arch }} docker/build -t ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest | |
- name: Login | |
run: echo ${{ secrets.GHCR_PASSWORD }} | docker login ghcr.io --username=${{ secrets.GHCR_USERNAME }} --password-stdin | |
- name: Push | |
run: docker push ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest |