Change dispatch to pull req #3
6
.github/workflows/docker-image-prod.yml
vendored
6
.github/workflows/docker-image-prod.yml
vendored
@ -20,16 +20,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pwd
|
pwd
|
||||||
whoami
|
whoami
|
||||||
cd /home/root/silvanus
|
cd /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/root/silvanus
|
cd /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/root/silvanus
|
cd /root/silvanus
|
||||||
docker push v0idf1sh/silvanus
|
docker push v0idf1sh/silvanus
|
Loading…
Reference in New Issue
Block a user