Merge pull request #5 from Doble-Technologies/john4064/Pipeline
Cleaning up Action
This commit is contained in:
commit
a9ee8f60b1
3 changed files with 4 additions and 4 deletions
4
.github/workflows/web-container.yml
vendored
4
.github/workflows/web-container.yml
vendored
|
|
@ -10,12 +10,12 @@ on:
|
||||||
- synchronize
|
- synchronize
|
||||||
- ready_for_review
|
- ready_for_review
|
||||||
paths:
|
paths:
|
||||||
- /**
|
- '**'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- /**
|
- '**'
|
||||||
jobs:
|
jobs:
|
||||||
determine-workflow:
|
determine-workflow:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
|
|
|
||||||
2
.github/workflows/web-deploy-nonprod.yml
vendored
2
.github/workflows/web-deploy-nonprod.yml
vendored
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKERHUB_USER }}
|
username: ${{ secrets.DOCKERHUB_USER }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Docker Build Backend
|
- name: Docker Build Backend
|
||||||
run: docker build -f Dockerfile -t john4064/matchmaking:latest_web ./web --build-arg ENVIRONMENT=dev
|
run: docker build -f Dockerfile -t john4064/matchmaking:latest_web ./ --build-arg ENVIRONMENT=dev
|
||||||
- name: Docker Push Backend
|
- name: Docker Push Backend
|
||||||
run: docker push john4064/matchmaking:latest_web
|
run: docker push john4064/matchmaking:latest_web
|
||||||
# deploy:
|
# deploy:
|
||||||
|
|
|
||||||
2
.github/workflows/web-deploy-prod.yml
vendored
2
.github/workflows/web-deploy-prod.yml
vendored
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKERHUB_USER }}
|
username: ${{ secrets.DOCKERHUB_USER }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Docker Build Backend
|
- name: Docker Build Backend
|
||||||
run: docker build -f Dockerfile -t john4064/matchmaking:prod_web ./web --build-arg ENVIRONMENT=prod
|
run: docker build -f Dockerfile -t john4064/matchmaking:prod_web ./ --build-arg ENVIRONMENT=prod
|
||||||
- name: Docker Push Backend
|
- name: Docker Push Backend
|
||||||
run: docker push john4064/matchmaking:prod_web
|
run: docker push john4064/matchmaking:prod_web
|
||||||
# deploy:
|
# deploy:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue