Skip to content

Commit

Permalink
Update build-develop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesYYang authored Jan 2, 2025
1 parent 66fe5ce commit a4f1948
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
- name: Install dependencies and build front
working-directory: ./front
run: |
pwd
npm install -g pnpm
cd projects/web
pwd
pnpm install
cd ../../
pwd
npm run build
- name: Set up Go
Expand All @@ -35,7 +38,7 @@ jobs:
- name: Install dependencies and build backend
working-directory: ./backend
run: |
go mod download
pwd
go build -o humpback
- name: 'Build and push image'
Expand All @@ -45,5 +48,7 @@ jobs:
username: jamesyyangapp
password: ${{ secrets.AZURE_REGISTRY_PASSWORD }}
- run: |
docker version
pwd
docker build . -t jamesyyangapp.azurecr.io/humpback-server:${{ github.sha }}
docker push jamesyyangapp.azurecr.io/humpback-server:${{ github.sha }}

0 comments on commit a4f1948

Please sign in to comment.