Skip to content

Commit dffdaff

Browse files
committed
Add a github workflow to build the container image
The workflow builds the container image using the Containerfile in the repo; the Containerfile runs the tests as part of the build process.
1 parent 12a9f01 commit dffdaff

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build Container Image
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
with:
19+
submodules: true
20+
21+
- name: Build container image with podman
22+
run: |
23+
podman build \
24+
-f Containerfile \
25+
-t flatpak-indexer:latest \
26+
--build-arg=FLATPAK_INDEXER_UPDATE_TEST_DATA=1 \
27+
.

0 commit comments

Comments
 (0)