Dubious
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s

This commit is contained in:
Skylar Grant 2023-07-31 16:43:24 -04:00
parent 40fc6838a0
commit e303651f53

View File

@ -20,16 +20,16 @@ jobs:
run: | run: |
pwd pwd
whoami whoami
cd /home/git/silvanus cd /home/root/silvanus
git pull git pull
git checkout $GITHUB_HEAD_REF git checkout $GITHUB_HEAD_REF
- name: Build the Docker image - name: Build the Docker image
run: | run: |
cd /home/git/silvanus cd /home/root/silvanus
docker build . --file Dockerfile --tag v0idf1sh/silvanus docker build . --file Dockerfile --tag v0idf1sh/silvanus
- name: Log into Docker Hub - name: Log into Docker Hub
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
- name: Push image to Docker Hub - name: Push image to Docker Hub
run: | run: |
cd /home/git/silvanus cd /home/root/silvanus
docker push v0idf1sh/silvanus docker push v0idf1sh/silvanus