File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ metadata:
19
19
spec :
20
20
params :
21
21
- name : dockerfile
22
- value : Dockerfile
22
+ value : dashboard/ Dockerfile
23
23
- name : git-url
24
24
value : ' {{repo_url}}'
25
25
- name : image-expires-after
26
26
value : 5d
27
27
- name : output-image
28
28
value : quay.io/redhat-user-workloads/rhtap-migration-tenant/migration-dashboard/migration-dashboard:on-pr-{{revision}}
29
29
- name : path-context
30
- value : dashboard
30
+ value : .
31
31
- name : revision
32
32
value : ' {{revision}}'
33
33
pipelineSpec :
Original file line number Diff line number Diff line change
1
+ dfsfdf
Original file line number Diff line number Diff line change @@ -3,9 +3,14 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.18.10-4 as builder
3
3
COPY ./ ./
4
4
# cache deps before building and copying source so that we don't need to re-download as much
5
5
# and so that source changes don't invalidate our downloaded layer
6
+ USER 0
7
+ RUN echo $PWD && ls -l -a && yum install -y git
8
+ RUN git config --global --add safe.directory $PWD && git log --graph --oneline --all --decorate && git fetch && git log --graph --oneline --all
6
9
RUN go mod download
7
10
RUN go build -o bin/generator .
8
11
12
+
13
+
9
14
FROM registry.access.redhat.com/ubi9-minimal:9.2-484
10
15
11
16
COPY --from=builder /opt/app-root/src/bin/generator /
You can’t perform that action at this time.
0 commit comments