File tree Expand file tree Collapse file tree 3 files changed +5
-60
lines changed Expand file tree Collapse file tree 3 files changed +5
-60
lines changed Original file line number Diff line number Diff line change 13
13
- name : Build the Docker images
14
14
if : startsWith(github.ref, 'refs/tags')
15
15
run : |
16
+ ./containers/compile_dockerfile.sh
16
17
docker build --no-cache -t quay.io/krkn-chaos/krkn containers/ --build-arg TAG=${GITHUB_REF#refs/tags/}
17
18
docker tag quay.io/krkn-chaos/krkn quay.io/redhat-chaos/krkn
18
19
docker tag quay.io/krkn-chaos/krkn quay.io/krkn-chaos/krkn:${GITHUB_REF#refs/tags/}
21
22
- name : Test Build the Docker images
22
23
if : ${{ github.event_name == 'pull_request' }}
23
24
run : |
25
+ ./containers/compile_dockerfile.sh
24
26
docker build --no-cache -t quay.io/krkn-chaos/krkn containers/ --build-arg PR_NUMBER=${{ github.event.pull_request.number }}
25
27
- name : Login in quay
26
28
if : startsWith(github.ref, 'refs/tags')
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
2
+ cd " $SCRIPT_DIR "
1
3
export KRKNCTL_INPUT=$( cat krknctl-input.json| tr -d " \n" )
4
+
2
5
envsubst ' ${KRKNCTL_INPUT}' < Dockerfile.template > Dockerfile
You can’t perform that action at this time.
0 commit comments