Skip to content

Commit

Permalink
sudo s2i
Browse files Browse the repository at this point in the history
Signed-off-by: Rupanshi Jain <[email protected]>
  • Loading branch information
rdotjain committed Sep 3, 2023
1 parent 8e87f8c commit dd6ae90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd6ae90

Please sign in to comment.