cd to frontend in pipeline
This commit is contained in:
parent
9c564604fb
commit
3a89296b83
|
@ -86,12 +86,12 @@ jobs:
|
|||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- name: Build VueJS application
|
||||
run: npm i && npm run build
|
||||
run: cd frontend && npm i && npm run build
|
||||
- name: Login to Docker Hub
|
||||
run: docker login -u ${{ secrets.DOCKER_USER }}
|
||||
-p ${{ secrets.DOCKER_PASS }}
|
||||
- name: Build Docker image for frontend
|
||||
run: docker build -t $REPO:frontend_latest -t $REPO:frontend_${GITHUB_SHA::8} .
|
||||
run: cd frontend && docker build -t $REPO:frontend_latest -t $REPO:frontend_${GITHUB_SHA::8} .
|
||||
- name: Publish Docker images
|
||||
run: |
|
||||
docker push $REPO:frontend_latest
|
||||
|
|
Loading…
Reference in New Issue