nodbot/.github/workflows/dev-deploy.yml

24 lines
507 B
YAML
Raw Normal View History

2023-02-13 02:33:28 +00:00
name: Nodbot-dev Dockerization
2022-12-02 18:03:47 +00:00
on:
2023-02-13 02:33:28 +00:00
workflow_dispatch:
2022-12-02 18:03:47 +00:00
env:
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
DHUB_PWORD: ${{ secrets.DHUB_PWORD }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
2023-02-13 02:33:28 +00:00
run: docker build . --file Dockerfile --tag v0idf1sh/nodbot-dev
2022-12-02 18:03:47 +00:00
- name: Log into Docker Hub
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
- name: Push image to Docker Hub
2023-02-13 02:33:28 +00:00
run: docker push v0idf1sh/nodbot-dev