Skip to content

Commit

Permalink
make workflow final
Browse files Browse the repository at this point in the history
  • Loading branch information
peggimann committed Dec 11, 2023
1 parent 41fd2b9 commit 2917297
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/deploy-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,27 +134,17 @@ jobs:
- name: Checkout project
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
server-id: github
settings-path: ${{ github.workspace }}

- name: Set up node 18
uses: actions/setup-node@v4
- name: Download artifact
uses: actions/download-artifact@v3
with:
node-version: 18.17.1

- name: Install Dependencies
run: cd ./frontend && npm ci
name: okr-image
path: /tmp

- name: Build frontend with Angular
run: cd ./frontend && npm run build
- name: Load image
run: docker load --input /tmp/okr-docker-image.tar

- name: Build backend with Maven
run: mvn -B clean package --file pom.xml -P build-for-docker
- name: show images
run: docker image ls -a

- name: Log in to Quay registry
uses: docker/login-action@v3
Expand Down

0 comments on commit 2917297

Please sign in to comment.