Skip to content

Commit

Permalink
Build and publish toolchain images
Browse files Browse the repository at this point in the history
  • Loading branch information
iii-i committed Apr 8, 2024
1 parent 7d98cfc commit 050d6fa
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and push a toolchain image

on:
push:
branches:
- main
pull_request:

jobs:
toolchain:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [ppc64le, s390x, x64]
steps:
- uses: actions/checkout@v4
- name: Build
run: docker/build -t ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
- name: Login
run: echo ${{ secrets.GHCR_PASSWORD }} | docker login --username=${{ secrets.GHCR_USERNAME }} --password-stdin
- name: Push
run: docker push ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest

0 comments on commit 050d6fa

Please sign in to comment.