Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,25 +88,25 @@ jobs:
kayobe overcloud container image build ${{ github.event.inputs.regexes }} --push
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: github.event.inputs.overcloud
if: github.event.inputs.overcloud == 'true'

- name: Display the overcloud container image tag
run: |
echo "$(cat ~/kolla_tag)"
if: github.event.inputs.overcloud
if: github.event.inputs.overcloud == 'true'

- name: Get built overcloud container images
run: |
sudo docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:$(cat ~/kolla_tag)" > overcloud-container-images
if: github.event.inputs.overcloud
if: github.event.inputs.overcloud == 'true'

- name: Upload overcloud-container-images artifact
uses: actions/upload-artifact@v3
with:
name: Overcloud container images
path: overcloud-container-images
retention-days: 7
if: github.event.inputs.overcloud
if: github.event.inputs.overcloud == 'true'

- name: Build and push kolla seed images
run: |
Expand All @@ -115,25 +115,25 @@ jobs:
kayobe seed container image build --push
env:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
if: github.event.inputs.seed
if: github.event.inputs.seed == 'true'

- name: Display the seed container image tag
run: |
echo "$(cat ~/kolla_tag)"
if: github.event.inputs.seed
if: github.event.inputs.seed == 'true'

- name: Get built seed container images
run: |
sudo docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:$(cat ~/kolla_tag)" > seed-container-images
if: github.event.inputs.seed
if: github.event.inputs.seed == 'true'

- name: Upload seed-container-images artifact
uses: actions/upload-artifact@v3
with:
name: Seed container images
path: seed-container-images
retention-days: 7
if: github.event.inputs.seed
if: github.event.inputs.seed == 'true'

- name: Prune local Kolla container images
run: |
Expand Down