Skip to content

Commit 686916d

Browse files
committed
test(gh-actions): add upstream image build test
- Add a test to build the upstream OLM image - Trigger tests on changes to everything but docs - Change workflow name to "upstream-tests"
1 parent 3854141 commit 686916d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/test-scripts.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
name: test-scripts
1+
name: upstream-tests
22
on:
33
pull_request:
44
paths:
5-
- 'scripts/**'
6-
- 'Makefile'
5+
- '**'
6+
- '!doc/contributors/**'
7+
- '!doc/design/**'
78
schedule:
89
- cron: '0 0 * * *' # daily to pick up releases
910
jobs:
11+
image-build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check out the repo
15+
uses: actions/checkout@v2
16+
- name: Build the container image
17+
uses: docker/build-push-action@v1
18+
with:
19+
repository: operator-framework/olm
20+
dockerfile: ./upstream.Dockerfile
21+
push: false
1022
run-local-minikube:
1123
runs-on: ubuntu-latest
1224
steps:

0 commit comments

Comments
 (0)