Skip to content

Commit

Permalink
cicd: build container with local checkout
Browse files Browse the repository at this point in the history
Signed-off-by: ldelossa <ldelossa@redhat.com>
  • Loading branch information
ldelossa committed Sep 29, 2020
1 parent 6181cc6 commit 04fab4a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ jobs:

- name: Build Release Container
run: |
build=$(mktemp -d)
trap "rm -rf '${build}'" EXIT
tar -xzf clair.tar.gz -C "${build}" --strip-components 1
docker build --build-arg CLAIR_VERSION --tag "${TAG}" "${build}"
docker build --build-arg CLAIR_VERSION --tag "${TAG}" .
- name: Publish Release Container
run: |
Expand Down

0 comments on commit 04fab4a

Please sign in to comment.