chore: frontend docker build and publish #1
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: BUILD AND PUBLISH SITUATIONROOM.CORE.FRONTEND DOCKER IMAGE | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths: | |
| - 'src/frontend/**' | |
| pull_request: | |
| branches: [ "master" ] | |
| paths: | |
| - 'src/frontend/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build the Docker image | |
| run: | | |
| DATE=$(date +%Y-%m-%d) | |
| docker build . \ | |
| --file Dockerfile \ | |
| --tag com.hermes.situationroom.core.frontend:${DATE}.${GITHUB_RUN_NUMBER} |