Modified workflow for dev environment
This commit is contained in:
parent
b6d2a53976
commit
6872397c58
8
.github/workflows/docker-image.yml
vendored
8
.github/workflows/docker-image.yml
vendored
@ -2,9 +2,9 @@ name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "3.0.1-dev" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "3.0.1-dev" ]
|
||||
|
||||
env:
|
||||
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
|
||||
@ -19,8 +19,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag v0idf1sh/nodbot
|
||||
run: docker build . --file Dockerfile --tag v0idf1sh/nodbot-dev
|
||||
- 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
|
||||
run: docker push v0idf1sh/nodbot-dev
|
||||
|
Loading…
Reference in New Issue
Block a user