push version #8
2 changed files with 3 additions and 3 deletions
4
.github/workflows/web-deploy-prod.yml
vendored
4
.github/workflows/web-deploy-prod.yml
vendored
|
|
@ -71,9 +71,9 @@ 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 web/Dockerfile -t john4064/shiftsync:latest_web ./web --build-arg TEST=${{ secrets.TEST }}
|
run: docker build -f web/Dockerfile -t john4064/shiftsync:prod_web ./web --build-arg TEST=${{ secrets.TEST }}
|
||||||
- name: Docker Push Backend
|
- name: Docker Push Backend
|
||||||
run: docker push john4064/shiftsync:latest_web
|
run: docker push john4064/shiftsync:prod_web
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
if: needs.build.result == 'success' && inputs.workflow_type == 'release'
|
if: needs.build.result == 'success' && inputs.workflow_type == 'release'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
shiftsync-web:
|
shiftsync-web:
|
||||||
image: 'docker.io/john4064/shiftsync:latest_web'
|
image: 'docker.io/john4064/shiftsync:prod_web'
|
||||||
environment:
|
environment:
|
||||||
- 'TESTVAR=${COOLIFY_VAR}'
|
- 'TESTVAR=${COOLIFY_VAR}'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue