diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml new file mode 100644 index 00000000..27833bbb --- /dev/null +++ b/.github/workflows/container-image.yml @@ -0,0 +1,15 @@ +name: Test Container Image build + +on: + push: + branches: [ 'main' ] + pull_request: + branches: [ '*' ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag model-registry:$(date +%s)