Compare commits

...

12 Commits

Author SHA1 Message Date
dd313faa60 Merge pull request 'Change dispatch to pull req' (#3) from testing into main
Reviewed-on: #3
2023-08-04 09:52:53 -07:00
ba81f01fa0 Even more dubious
All checks were successful
Silvanus Production Dockerization / build (pull_request) Successful in 27s
2023-07-31 16:43:54 -04:00
e303651f53 Dubious
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s
2023-07-31 16:43:24 -04:00
40fc6838a0 Debug
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s
2023-07-31 16:41:52 -04:00
67483697f0 Attempt #243095
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s
2023-07-31 16:40:48 -04:00
1e1d0cddaa Moar fixxed?!
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s
2023-07-31 16:35:33 -04:00
45418e2bd6 Fixed I hope
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 2s
2023-07-31 16:23:03 -04:00
22005ac68f asd;flkasdj;
Some checks reported warnings
Silvanus Production Dockerization / build (pull_request) Has been cancelled
2023-07-31 16:21:21 -04:00
805c20953c Fixes
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 7s
2023-07-31 16:12:58 -04:00
ba0e4625c0 Remove host
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 6s
2023-07-31 16:07:43 -04:00
11465287dd Update uses declaration
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 12s
2023-07-31 16:05:40 -04:00
36c59f83f4 Change dispatch to pull req
Some checks failed
Silvanus Production Dockerization / build (pull_request) Failing after 46s
2023-07-31 16:03:25 -04:00

View File

@ -1,7 +1,7 @@
name: Silvanus Production Dockerization
on:
merge:
pull_request:
branches:
- main
@ -13,13 +13,23 @@ jobs:
build:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Build the Docker image v0idf1sh/silvanus
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus
- name: Pull latest from Git
run: |
pwd
whoami
cd /root/silvanus
git pull
git checkout $GITHUB_HEAD_REF
- name: Build the Docker image
run: |
cd /root/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 v0idf1sh/silvanus
run: docker push v0idf1sh/silvanus
- name: Push image to Docker Hub
run: |
cd /root/silvanus
docker push v0idf1sh/silvanus