Skip to content

Commit

Permalink
👻 Support seed build args. (konveyor#503)
Browse files Browse the repository at this point in the history
Better support for test run analysis with seed PRs using 
`--build-arg SEED_PROJECT <url>`
`--build-arg SEED_BRANCH <branch> `

Example:
```
$ docker build . -t quay.io/jortel/tackle2-hub:latest \
  --build-arg 'SEED_PROJECT=jortel/tackle2-seed' \
  --build-arg 'SEED_BRANCH=add-targets' \
  && docker push quay.io/jortel/tackle2-hub:latest
```

Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel authored and aufi committed Oct 30, 2023
1 parent b35baa7 commit 003362a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM registry.access.redhat.com/ubi9/go-toolset:latest as builder
ENV GOPATH=$APP_ROOT
COPY --chown=1001:0 . .
RUN make docker
RUN git clone https://github.com/konveyor/tackle2-seed
ARG SEED_PROJECT=konveyor/tackle2-seed
ARG SEED_BRANCH=main
RUN git clone --branch ${SEED_BRANCH} https://github.com/${SEED_PROJECT}

FROM quay.io/konveyor/static-report as report

Expand Down

0 comments on commit 003362a

Please sign in to comment.