Skip to content

Commit

Permalink
Build and publish toolchain images
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Leoshkevich <[email protected]>
  • Loading branch information
iii-i committed Apr 8, 2024
1 parent 8a8cbfe commit fd84f54
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and push a toolchain image

on:
push:
branches:
- main

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 ghcr.io --username=${{ secrets.GHCR_USERNAME }} --password-stdin
- name: Push
run: docker push ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest

0 comments on commit fd84f54

Please sign in to comment.