🤖 Lint code #73
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 Dockerfile | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
types: [labeled, review_requested] | |
branches: [ "master" ] | |
jobs: | |
build: | |
if: ${{(github.event_name == 'push') || contains(github.event.pull_request.labels.*.name, 'Exhaustive CI') || contains(github.event.pull_request.labels.*.name, 'Build Docker Files')}} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Dockerfile | |
run: | | |
docker build . --file docker/Dockerfile --tag unifyai/ivy:$(date +%s) |