diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0316ec..728a91f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,9 +68,7 @@ jobs: go install github.com/openshift/source-to-image/cmd/s2i@latest - name: Build a server container run: | - $HOME/go/bin/s2i build -v https://github.com/sclorg/django-ex centos/python-35-centos7 hello-python - docker run -p 8080:8080 hello-python - $HOME/go/bin/s2i build . registry.access.redhat.com/ubi8/python-36:latest zezere:testimg + sudo $HOME/go/bin/s2i build -v . registry.access.redhat.com/ubi8/python-36:latest zezere:testimg - name: Run a server run: | docker run --name zezere -e AUTH_METHOD=local -e SECRET_KEY=citest -e ALLOWED_HOSTS=bootserv --detach --rm -p 8080:8080 -t zezere:testimg