Skip to content

Commit

Permalink
Another attempt at docker CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Aug 9, 2024
1 parent 284380b commit a930600
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@

# Build docker images with a Jupyter server with Cadabra
# kernel whenever a commit is pushed to github.
#
# Lint this thing with
#
# yq eval docker.yml

name: Docker

on: [push]
Expand All @@ -6,9 +14,6 @@ jobs:
build:
runs-on: ubuntu-latest

# If we are on the master branch, build for all architectures.
# Otherwise, only build on the architecture for which we can
# get a runner (for speed).
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -53,7 +58,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
context: .
file: docker/Dockerfile
push: ${{ github.ref == "master" }}
push: ${{ github.ref == 'master' }}
tags: cadabra2-jupyter-${{ matrix.arch }}:latest
outputs: type=docker,dest=cadabra2-jupyter-${{ matrix.arch }}.tar

Expand Down

0 comments on commit a930600

Please sign in to comment.