Change dispatch to pull req #3
6
.github/workflows/docker-image-prod.yml
vendored
6
.github/workflows/docker-image-prod.yml
vendored
@ -16,6 +16,12 @@ 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: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus
|
||||
- name: Log into Docker Hub
|
||||
|
Loading…
Reference in New Issue
Block a user