Skip to content

Commit 6ea5454

Browse files
committed
ci: enable image builds
Signed-off-by: Matej Focko <[email protected]>
1 parent ad335ab commit 6ea5454

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/build-and-push-image.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ name: Build & push the validation image
22

33
on:
44
workflow_dispatch:
5-
# TODO: uncomment once the image can be built
6-
# push:
7-
# branches:
8-
# - main
9-
# paths:
10-
# - src/**
11-
# - Containerfile
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- src/**
10+
- Containerfile
1211

1312
jobs:
1413
build-and-push:

Containerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM fedora:37
1+
FROM fedora:latest
22

33
RUN dnf install -y python3-ogr python3-copr python3-pip && dnf clean all
44

55
RUN pip3 install --upgrade sentry-sdk && pip3 check
66

7-
COPY packit-service-validation.py /usr/bin/
7+
RUN pip3 install git+https://github.com/packit/validation.git
88

9-
CMD ["python3", "/usr/bin/packit-service-validation.py"]
9+
CMD ["validation"]

0 commit comments

Comments
 (0)