Skip to content

run demo in gh actions #16

run demo in gh actions

run demo in gh actions #16

Workflow file for this run

name: docker
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: mwatelescope/mwa-demo:latest
cache-from: type=gha
cache-to: type=gha,mode=max
demo_1121334536:
needs: docker
runs-on: mwatelescope/mwa-demo:latest
env:
obsid: 1121334536
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: download demo data
run: |
mkdir -p demo/data/1121334536/raw
curl -L -o demo/data/1121334536/raw/1121334536_20150719094841_gpubox20_00.fits 'https://projects.pawsey.org.au/mwa-demo/1121334536_20150719094841_gpubox20_00.fits'
- name: self-test
run: demo/00_test.sh
- name: tap
run: demo/01_tap.sh
- name: mwalib
run: demo/03_mwalib.sh
- name: ssins
run: demo/04_ssins.sh
- name: img
run: demo/07_img.sh