Merge pull request #139 from AxisCommunications/sync-20240703-1 #236
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: Build documentation from Dockerfiles | |
on: | |
push: | |
paths: | |
- '**' | |
- '.github/workflows/build-dockerfiles.yml' | |
- '!README.md' | |
- '!CONTRIBUTING.md' | |
- '!LICENSE.*' | |
- '!CODEOWNERS' | |
- '!CODE_OF_CONDUCT.md' | |
jobs: | |
build-docs-in-docker-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and test pages | |
run: | | |
t0=testimage:0 | |
printf "### Build main Dockerfile\n" | |
docker build . --no-cache -t $t0 | |
printf "### Build multi stage Dockerfiles\n" | |
./build-multistage full |