Attempt #243095
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s

This commit is contained in:
Skylar Grant 2023-07-31 16:40:48 -04:00
parent 1e1d0cddaa
commit 67483697f0

View File

@ -16,15 +16,18 @@ jobs:
runs-on: self-hosted
steps:
- name: Move into build directory
run: cd /home/git/silvanus
- name: Pull latest files
run: git pull
- name: Checkout from HEAD
run: git checkout $GITHUB_HEAD_REF
- name: Pull latest from Git
run: |
cd /home/git/silvanus
git pull
git checkout $GITHUB_HEAD_REF
- name: Build the Docker image
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus
run: |
cd /home/git/silvanus
docker build . --file Dockerfile --tag v0idf1sh/silvanus
- name: Log into Docker Hub
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
- name: Push image to Docker Hub
run: docker push v0idf1sh/silvanus
run: |
cd /home/git/silvanus
docker push v0idf1sh/silvanus