Skip to content

Commit

Permalink
test 6
Browse files Browse the repository at this point in the history
  • Loading branch information
aedan committed Jan 3, 2025
1 parent e0f5a43 commit 3001795
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image-pull-and-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- name: Read images from .original-images.yaml
id: parse_images
run: |
IMAGES=$(yq '.images | join(",")' .original-images.yaml)
echo "matrix=$(echo $IMAGES | jq -R -s -c 'split(",")')" >> $GITHUB_ENV
IMAGES=$(yq '.images' .original-images.yaml | jq -R -s -c 'split("\n") | map(select(. != ""))')
echo "matrix=$IMAGES" >> $GITHUB_ENV
echo "::set-output name=matrix::$IMAGES"
- name: Create matrix
id: create_matrix
run: |
echo "::set-output name=matrix::$(echo $IMAGES | jq -R -s -c 'split(",")')"
run: echo "::set-output name=matrix::$(echo $IMAGES)"

migrate-images:
needs: setup-matrix
Expand Down
3 changes: 1 addition & 2 deletions .original-images.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
images:
- docker.io/openstackhelm/heat:2024.1-ubuntu_jammy
- docker.io/openstackhelm/glance:2024.1-ubuntu_jammy
# - docker.io/openstackhelm/ceph-config-helper:latest-ubuntu_jammy
- docker.io/openstackhelm/ceph-config-helper:latest-ubuntu_jammy

0 comments on commit 3001795

Please sign in to comment.