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