CI update

This commit is contained in:
Skylar Grant 2023-02-17 14:46:41 -05:00
parent e21e6e510f
commit 15d78e6650
2 changed files with 5 additions and 5 deletions

View File

@ -16,11 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
- name: Build the Docker image v0idf1sh/silvanus-dev
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus-dev
- name: Log into Docker Hub
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
- name: Push image to Docker Hub
- name: Push image to Docker Hub v0idf1sh/silvanus-dev
run: docker push v0idf1sh/silvanus-dev
- name: Set up a skeleton .env file
run: echo "TOKEN=${{secrets.DEVTOKEN}}" > .env && echo "BOTID=${{ secrets.CLIENTID }}" >> .env

View File

@ -1,4 +1,4 @@
name: Silvanus-Dev Dockerization
name: Silvanus Production Dockerization
on:
pull_request:
@ -16,11 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
- name: Build the Docker image v0idf1sh/silvanus
run: 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
- name: Push image to Docker Hub v0idf1sh/silvanus
run: docker push v0idf1sh/silvanus
- name: Set up a skeleton .env file
run: echo "TOKEN=${{secrets.PRODTOKEN}}" > .env && echo "clientId=${{ secrets.PRODCLIENTID }}" >> .env