Skip to content

Commit

Permalink
cicd: fix container build
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Oct 9, 2020
1 parent 88407e2 commit 49e01d6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,11 @@ jobs:
with:
name: release
- name: Build Release Container
run: >
docker build
--build-arg CLAIR_VERSION
--tag "${TAG}"
-
<${{steps.download.outputs.download-path}}/clair.tar.gz
run: |
d=$(mktemp -d)
trap 'rm -rf "$d"' EXIT
tar -xz -f ${{steps.download.outputs.download-path}}/clair.tar.gz --strip-components=1 -C "$d"
docker build --build-arg CLAIR_VERSION --tag "${TAG}" "$d"
- name: Publish Release Container
run: |
docker login -u "${QUAY_USER}" -p '${{ secrets.QUAY_TOKEN }}' quay.io
Expand Down

0 comments on commit 49e01d6

Please sign in to comment.