Docker build - noi-techpark/odh-docs GitHub Wiki

Builds the the docker image from the Dockerfile

name: CI

on: 
  push:
    branches: [development]
  pull_request:
    branches: [development]


  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Build the Docker image
      run: docker build . --file Dockerfile --tag my-image-name:latest