Updating deploy pipeline
All checks were successful
Build / BuildAPI (push) Successful in 8s
Build / BuildUI (push) Successful in 14s
Build / BuildAPI (release) Successful in 9s
Build / BuildUI (release) Successful in 14s
Build / Publish UI Docker Image (release) Successful in 15s
Build / Publish API Docker Image (release) Successful in 18s
All checks were successful
Build / BuildAPI (push) Successful in 8s
Build / BuildUI (push) Successful in 14s
Build / BuildAPI (release) Successful in 9s
Build / BuildUI (release) Successful in 14s
Build / Publish UI Docker Image (release) Successful in 15s
Build / Publish API Docker Image (release) Successful in 18s
This commit is contained in:
parent
e5311514fa
commit
ce18798f8a
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
path: artifacts/api
|
||||
PublishUI:
|
||||
runs-on: osx
|
||||
needs: [BuildUI]
|
||||
needs: [BuildUI, BuildAPI]
|
||||
name: Publish UI Docker Image
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
|
|
@ -68,11 +68,11 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
file: source/ticketUI/Dockerfile
|
||||
push: true
|
||||
push: false
|
||||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ticket-ui:${{ github.ref_name }}
|
||||
PublishAPI:
|
||||
runs-on: osx
|
||||
needs: [BuildAPI]
|
||||
needs: [BuildAPI, PublishUI]
|
||||
name: Publish API Docker Image
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
|
|
@ -96,5 +96,5 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
file: source/ticketAPI/Dockerfile
|
||||
push: true
|
||||
push: false
|
||||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ticket-api:${{ github.ref_name }}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
FROM nginx:latest
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY dist/ticket-ui /usr/share/nginx/html
|
||||
COPY source/ticketUI/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY source/ticketUI/dist/ticket-ui /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Loading…
Reference in New Issue
Block a user