raise SystemExit when env variables are not fulfilled #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: APIServer build | |
on: | |
push: | |
paths: | |
- 'apiserver/**' | |
workflow_dispatch: | |
jobs: | |
APIServer: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and push to Docker Hub | |
uses: ./.github/actions/Docker | |
with: | |
REGISTRY_ADDRESS: ${{ secrets.DOCKER_HUB_ADDRESS }} | |
REGISTRY_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} | |
REGISTRY_PASSWORD: ${{ secrets.DOCKER_HUB_TOKEN }} | |
REGISTRY_NAME_SPACE: ${{ secrets.DOCKER_HUB_NAME_SPACE }} | |
DOCKER_BUILD_NAME: 'apiserver' | |
DOCKER_BUILD_PATH: './apiserver' |