fix: reject an obligation over a contested merged-root alias #18
This file contains hidden or 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: Publish Compiler Book | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'book/**' | |
| workflow_dispatch: | |
| inputs: | |
| tag: | |
| description: 'Release tag (use "latest" for default environment)' | |
| required: false | |
| default: 'latest' | |
| branch: | |
| description: 'Branch to use' | |
| required: false | |
| default: 'main' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4.1.3 | |
| with: | |
| ref: ${{ inputs.branch || github.ref }} | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: docker.io | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
| - name: Build and push Compiler Book image | |
| uses: docker/build-push-action@v3 | |
| with: | |
| context: ./book | |
| file: ./book/Dockerfile | |
| push: true | |
| tags: | | |
| georgii4inferara/inference-compiler-book:1.0.${{ github.run_number }} | |
| georgii4inferara/inference-compiler-book:${{ inputs.tag || 'latest' }} |