Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 1035c84

Browse files
committed
feat: Update pr workflow to build results image
Signed-off-by: Brad Beam <brad.beam@stormforge.io>
1 parent c3d452f commit 1035c84

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pr.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v2
1414

15+
- name: Set up Docker Buildx
16+
uses: docker/setup-buildx-action@v1
17+
1518
- name: Install kustomize
1619
run: |
1720
wget -q "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv4.2.0/kustomize_v4.2.0_linux_amd64.tar.gz" -O - | tar xz
@@ -23,3 +26,11 @@ jobs:
2326
find . -type f -maxdepth 6 -name kustomization.yaml \
2427
| xargs -n1 dirname \
2528
| xargs -I{} sh -c 'echo "Building {}..."; kustomize build {} 1> /dev/null'
29+
30+
- name: Build and push
31+
id: docker_build
32+
uses: docker/build-push-action@v2
33+
with:
34+
context: ./webserver/voting-webapp/results-exporter
35+
push: false
36+
tags: prtest

0 commit comments

Comments
 (0)