Skip to content

Commit

Permalink
Persist images for all targets (#1097)
Browse files Browse the repository at this point in the history
When building the Sonobuoy images, we build images for multiple targets.
We push them in a separate step from where they were built so they need
to be persisted to the workspace. We were previously only persisting the
sonobuoy/sonobuoy tagged images, not the sonobuoy/sonobuoy-ARCH images.
This was causing CI failures as the image pushing step was trying to
push images for different architectures that did not exist locally.

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
  • Loading branch information
zubron authored Mar 30, 2020
1 parent a8a5459 commit e915293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- run:
name: Save as tar files to persist to next step
command: |
docker save -o sonobuoyImages.tar.gz sonobuoy/sonobuoy
docker save -o sonobuoyImages.tar.gz sonobuoy/sonobuoy sonobuoy/sonobuoy-amd64 sonobuoy/sonobuoy-arm64
- persist_to_workspace:
root: /home/circleci/project
paths:
Expand Down

0 comments on commit e915293

Please sign in to comment.