-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dive action on Keystone built images
- Loading branch information
1 parent
052aa5c
commit 5bc2752
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,16 +26,27 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || github.event_name != 'pull_request_review' | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # refs/tags/v4.1.7 | ||
- name: Install requirements | ||
env: | ||
OS_KOLLA_BUILD_ARGS: 'keystone --registry 127.0.0.1:5000 --push --threads 4 --quiet --retries 5 --cache --push-threads 2 --squash --base ubuntu' | ||
OS_KOLLA_BUILD_ARGS: 'keystone --registry 127.0.0.1:5000 --push --threads 4 --quiet --retries 5 --cache --push-threads 2 --squash --base ubuntu --tag latest' | ||
run: ./registry.sh | ||
- name: Get Docker Base Image layer contents | ||
uses: yuichielectric/[email protected] | ||
with: | ||
image: '127.0.0.1:5000/kolla/base:latest' | ||
- name: Get OpenStack Docker Image layer contents | ||
uses: yuichielectric/[email protected] | ||
with: | ||
image: '127.0.0.1:5000/kolla/openstack-base:latest' | ||
- name: Get Kestone Docker Image layer contents | ||
uses: yuichielectric/[email protected] | ||
with: | ||
image: '127.0.0.1:5000/kolla/keystone:latest' | ||
- name: Validate images | ||
run: | | ||
sudo docker images | ||
|
@@ -58,7 +69,6 @@ jobs: | |
runs-on: macos-12 | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || github.event_name != 'pull_request_review' | ||
|