Skip to content

WIP: Change: Ci: following guidelines #15

WIP: Change: Ci: following guidelines

WIP: Change: Ci: following guidelines #15

Workflow file for this run

name: CI
on:
push:
branches: [ main]
tags: ["v*"]
pull_request:
workflow_dispatch:
repository_dispatch:
schedule:
# rebuild image every sunday
- cron: "0 0 * * 0"
jobs:
init:
uses: ./.github/workflows/init.yaml
build:
uses: ./.github/workflows/build.yml
linting:
uses: ./.github/workflows/ci.yml
container:
needs: [build, init]
uses: ./.github/workflows/push-container.yml
secrets:
dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN}}
with:
is_latest_tag: ${{needs.init.outputs.is_latest_tag}} == 'true'
is_version_tag: ${{needs.init.outputs.is_version_tag}} == 'true'
# although it seems a bit odd, but that way we ensure
# that we test the latest greatest thing.
smoketests:
needs: [container, init]
uses: ./.github/workflows/smoketest.yaml