File tree Expand file tree Collapse file tree 4 files changed +49
-1
lines changed
Expand file tree Collapse file tree 4 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and push
2+ on :
3+ workflow_run :
4+ workflows : ["Dummy run"]
5+ types :
6+ - completed
7+
8+ permissions :
9+ pull-requests : write
10+ contents : write
11+
12+ jobs :
13+ test-run :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - run : echo "this is triggered"
19+ - name : Install latest podman
20+ run : |
21+ bash .github/workflows/scripts/install_latest_podman.sh
22+ - name : Build Image
23+ id : build_image
24+ uses : redhat-actions/buildah-build@v2
25+ with :
26+ image : " opendatahub-tests"
27+ layers : false
28+ tags : ${{ github.event.pull_request.number }}
29+ containerfiles : |
30+ Dockerfile
31+ - name : Podman Login
32+ uses : redhat-actions/podman-login@v1
33+ with :
34+ registry : ${{ secrets.IMAGE_REGISTRY }}
35+ username : ${{ secrets.TEMP_USER }}
36+ password : ${{ secrets.TEMP_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Dummy run
2+ on :
3+ pull_request :
4+
5+ jobs :
6+ test-run :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - run : echo "this is triggered"
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