add dependency and backport commits #32
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
# Do not edit this file. It is generated from toolchain.yml.j2. | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docker/**' | |
- '.github/workflows/toolchain.yml' | |
pull_request: | |
paths: | |
- 'docker/**' | |
- '.github/workflows/toolchain.yml' | |
permissions: | |
packages: write | |
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.GITHUB_TOKEN }} | | |
docker login ghcr.io --username=${{ github.actor }} --password-stdin | |
if: ${{ github.event_name == 'push' }} | |
- name: Push | |
run: docker push ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest | |
if: ${{ github.event_name == 'push' }} |