Skip to content

cks

cks #78

name: hadmin-store
on:
push:
tags:
- '*'
branches:
- release
pull_request:
env:
IMAGE: ghcr.io/hstreamdb/hadmin-store:latest
jobs:
init:
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.check-if-skip.outputs.skip }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- id: check-if-skip
uses: ./.github/actions/check-if-skip
with:
checksum-file: checksum/hadmin_store.sha256sum
build:
needs: init
if: ${{ needs.init.outputs.skip == 'false' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: login to github container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Push images
run: |
HS_DIR='.' ./build.sh build_hadmin_store
HS_DIR='.' ./build.sh push_hadmin_store
HS_DIR='.' ./build.sh push_hadmin_store_manifest