Updates haskell-tools and esbuild #6
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 Purescript-Tools image | |
on: | |
push: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build_and_push_image: | |
strategy: | |
matrix: | |
os: [[self-hosted, linux, x64], [self-hosted, linux, arm64]] | |
runs-on: ${{ matrix.os }} | |
name: Build and Push Docker Image | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Log in to the Github Container registry | |
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Expose GitHub Runtime | |
uses: crazy-max/ghaction-github-runtime@v2 | |
- name: Build And Push Image | |
run: | | |
./build-image.sh build-and-push-arch-tag | |
build_and_push_manifest: | |
name: Build manifest docker image | |
runs-on: [self-hosted, linux, x64] | |
needs: [build_and_push_image] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Docker buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Log in to the Github Container registry | |
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push manifest | |
run: | | |
./build-image.sh push-manifest |