CI update
This commit is contained in:
parent
e21e6e510f
commit
15d78e6650
4
.github/workflows/docker-image-dev.yml
vendored
4
.github/workflows/docker-image-dev.yml
vendored
@ -16,11 +16,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus-dev
|
||||||
- name: Log into Docker Hub
|
- name: Log into Docker Hub
|
||||||
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
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
|
run: docker push v0idf1sh/silvanus-dev
|
||||||
- name: Set up a skeleton .env file
|
- name: Set up a skeleton .env file
|
||||||
run: echo "TOKEN=${{secrets.DEVTOKEN}}" > .env && echo "BOTID=${{ secrets.CLIENTID }}" >> .env
|
run: echo "TOKEN=${{secrets.DEVTOKEN}}" > .env && echo "BOTID=${{ secrets.CLIENTID }}" >> .env
|
||||||
|
6
.github/workflows/docker-image-new.yml
vendored
6
.github/workflows/docker-image-new.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Silvanus-Dev Dockerization
|
name: Silvanus Production Dockerization
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -16,11 +16,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image v0idf1sh/silvanus
|
||||||
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus
|
run: docker build . --file Dockerfile --tag v0idf1sh/silvanus
|
||||||
- name: Log into Docker Hub
|
- name: Log into Docker Hub
|
||||||
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
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
|
run: docker push v0idf1sh/silvanus
|
||||||
- name: Set up a skeleton .env file
|
- name: Set up a skeleton .env file
|
||||||
run: echo "TOKEN=${{secrets.PRODTOKEN}}" > .env && echo "clientId=${{ secrets.PRODCLIENTID }}" >> .env
|
run: echo "TOKEN=${{secrets.PRODTOKEN}}" > .env && echo "clientId=${{ secrets.PRODCLIENTID }}" >> .env
|
||||||
|
Loading…
Reference in New Issue
Block a user