File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and push
2+ on :
3+ pull_request :
4+
5+ permissions :
6+ pull-requests : write
7+ contents : write
8+
9+ jobs :
10+ test-run :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ - run : echo "this is triggered"
16+ - name : Install latest podman
17+ run : |
18+ bash .github/workflows/scripts/install_latest_podman.sh
19+ - name : Build Image
20+ id : build_image
21+ uses : redhat-actions/buildah-build@v2
22+ with :
23+ image : ${{ secrets.IMAGE_NAME }}
24+ layers : false
25+ tags : ${{ github.event.pull_request.number }}
26+ containerfiles : |
27+ Dockerfile
Original file line number Diff line number Diff line change 1+ sudo apt-get update
2+ sudo apt-get -y upgrade
3+ sudo apt-get -y install podman
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ IMAGE_BUILD_CMD = $(shell which podman 2>/dev/null || which docker)
22IMAGE_REGISTRY ?= "quay.io"
33REGISTRY_NAMESPACE ?= "opendatahub"
44IMAGE_NAME ="opendatahub-tests"
5- IMAGE_TAG ?= "latest"
5+ IMAGE_TAG ?= "latest-test "
66
77FULL_OPERATOR_IMAGE ?= "$(IMAGE_REGISTRY ) /$(REGISTRY_NAMESPACE ) /$(IMAGE_NAME ) :$(IMAGE_TAG ) "
88
You can’t perform that action at this time.
0 commit comments