Update docker-image.yml #47
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: test_docker | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: check | |
run: pwd | |
- name: clone runtimes | |
run: git clone https://github.com/cloudera/ml-runtimes.git | |
- name: buid cml_3.9 | |
run: | | |
ls | |
cd ml-runtimes | |
$pwd | |
docker build -t cml_3.9 -f "pbj-workbench-python3.9-standard.Dockerfile" . | |
- name: create container | |
run: docker run -v ${PWD}:/usr/src/project --name test1 cml_3.9 | |
- name: check folders | |
run: ls | |
- name: check python version | |
run: docker exec test1 ls -lsa | |
- name: check folders2 | |
run: ls | |