Add badge for docker build #4
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
name: Docker Build | |
on: | |
push: | |
branches: [main, dev, workflows/docker] | |
pull_request: | |
branches: [main, dev, workflows/docker] | |
schedule: | |
- cron: 33 7 * * 1,3,5 | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Create mock env file | |
run: cp .env.test .env | |
- name: Create mock host file | |
run: touch httpd-vhosts.conf | |
- name: Create mock cert dir | |
run: mkdir cert | |
- name: Build docker images | |
run: docker build -f Dockerfile -t picsureui . |