Skip to content

Change main to master github workflow (#21999) #23726

Change main to master github workflow (#21999)

Change main to master github workflow (#21999) #23726

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)