fix bug in the example #23
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: Documentation Docker Image | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build the Docker image | |
| working-directory: . | |
| run: docker build . --tag invariant-docs:main | |
| - name: Login to Invariant Container Registry | |
| run: echo ${{ secrets.INVARIANT_REGISTRY_PASSWORD }} | docker login -u ${{ secrets.INVARIANT_REGISTRY_USERNAME }} --password-stdin https://images.invariantnet.com | |
| - name: Rename the Docker image | |
| run: docker tag invariant-docs:main images.invariantnet.com/invariant-docs:main | |
| - name: Push the Docker image | |
| run: docker push images.invariantnet.com/invariant-docs:main |