Skip to content

Commit 01112b9

Browse files
committed
ci: add workflow to build InitContainer image
Adds a GitHub Actions workflow to verify the InitContainer Dockerfile builds successfully. Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
1 parent d37f89a commit 01112b9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Build InitContainer Image
3+
4+
"on":
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build-init:
14+
name: Build InitContainer Dockerfile
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repo
19+
uses: actions/checkout@v3
20+
21+
- name: Build InitContainer image
22+
run: docker build base/jenkins/init -t initcontainer-test

0 commit comments

Comments
 (0)