Skip to content

update checksums

update checksums #239

Workflow file for this run

name: haskell
on:
push:
tags:
- "*"
branches:
- release
pull_request:
env:
IMAGE_NAME: hstreamdb/haskell
jobs:
init:
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.check-if-skip.outputs.skip }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: check-if-skip
id: check-if-skip
uses: ./.github/actions/check-if-skip
with:
checksum-file: checksum/haskell.sha256sum
build:
needs: init
if: ${{ needs.init.outputs.skip == 'false' }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["810", "902", "904"]
steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build & push images
run: |
HS_DIR='.' ./build.sh build_haskell${{ matrix.ghc }}
HS_DIR='.' ./build.sh build_haskell${{ matrix.ghc }}_rq
HS_DIR='.' ./build.sh push_haskell${{ matrix.ghc }}
HS_DIR='.' ./build.sh push_haskell${{ matrix.ghc }}_rq
HS_DIR='.' ./build.sh push_haskell${{ matrix.ghc }}_manifest
HS_DIR='.' ./build.sh push_haskell${{ matrix.ghc }}_manifest_rq
if [ "${{ matrix.ghc }}" = "902" ]; then
echo "Push latest"
HS_DIR='.' ./build.sh push_haskell_latest_manifest 9.2.8
HS_DIR='.' ./build.sh push_haskell_latest_manifest_rq 9.2.8
fi