Skip to content

Commit 3ff220f

Browse files
putki kuntoon
1 parent d0c9668 commit 3ff220f

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/build_production.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,20 @@ jobs:
88
build-and-store:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v4
13-
- name: Build frontend
14-
run: |
15-
npm --prefix ./frontend ci
16-
npm --prefix ./frontend run build
17-
- name: Build backend
18-
run: |
19-
npm --prefix ./backend ci
20-
npm --prefix ./backend run build
21-
- name: Build and and export
22-
uses: redhat-actions/push-to-registry@v2
23-
with:
11+
- uses: actions/checkout@v4
12+
- name: Build image
13+
id: build-image
14+
uses: redhat-actions/buildah-build@v2
15+
with:
16+
image: finlex
17+
tags: latest ${{ github.sha }}
18+
containerfiles: ./Containerfile
19+
build-args: |
20+
GIT_SHA=${{ github.sha }}
21+
STAGING=false
22+
- name: Build and and export
23+
uses: redhat-actions/push-to-registry@v2
24+
with:
2425
image: ${{ steps.build-image.outputs.image }}
2526
tags: ${{ steps.build-image.outputs.tags }}
2627
registry: quay.io/toska

0 commit comments

Comments
 (0)