Docker Build #109
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, release] | |
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 . |