Change main to master github workflow (#21999) #23726
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 DockerfileGPU | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
types: [labeled, review_requested] | |
branches: [ "main" ] | |
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 DockerfileGPU | |
run: | | |
docker build . --file docker/DockerfileGPU --tag unifyai/ivy:gpu$(date +%s) |