fix(docker): release image on stable, copy missing scripts and use fixed version of ncr #356
Workflow file for this run
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
on: | |
push: | |
branches: | |
- 'main' | |
- 'stable' | |
pull_request: | |
branches: | |
- 'main' | |
merge_group: | |
jobs: | |
api_test: | |
runs-on: ubuntu-latest | |
name: 🧪 VCI API Tests | |
if: github.event.pull_request.base.ref == 'main' | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make test | |
publish_docker_image: | |
needs: api_test | |
name: 🐳 Publish Docker Image | |
if: github.ref == 'refs/heads/stable' | |
uses: interfacerproject/workflows/.github/workflows/publish-ghcr.yml@main | |
secrets: inherit |