parent
f6edfcd36d
commit
5ce1c5d603
9
.github/workflows/docker-image.yml
vendored
9
.github/workflows/docker-image.yml
vendored
@ -6,10 +6,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
env:
|
|
||||||
DHUB_UNAME: {{ secrets.DHUB_UNAME }}
|
|
||||||
DHUB_PWORD: {{ secrets.DHUB_PWORD }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@ -20,7 +16,4 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . --file Dockerfile --tag v0idf1sh/nodbot:$(date +%s)
|
run: docker build . --file Dockerfile --tag v0idf1sh/nodbot:$(date +%s)
|
||||||
- name: Log into Docker Hub
|
run: docker login
|
||||||
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
|
||||||
- name: Push image to Docker Hub
|
|
||||||
run: docker push v0idf1sh/nodbot:latest
|
|
||||||
|
Loading…
Reference in New Issue
Block a user