Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
davhdavh authored Nov 4, 2024
1 parent af218c1 commit d662999
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ jobs:
curl -s "https://hub.docker.com/v2/repositories/bitnami/mariadb/tags/?page_size=100" | \
jq -r '.results | sort_by(.last_updated) | reverse | map(select(.name | test("^[0-9]+\\.[0-9]+\\.[0-9]+-debian-12"))) | .[].name' > source_tags.txt
- name: Debug: Show fetched source tags
- name: Fetch destination tags
id: fetch_dest_tags
run: |
curl -s "https://hub.docker.com/v2/repositories/catglobe/mariadb/tags/?page_size=100" | \
jq -r '.results[].name' > dest_tags.txt
- name: Show fetched source tags
run: |
echo "Source tags fetched:"
cat source_tags.txt
echo "Destination tags fetched:"
cat dest_tags.txt
- name: Check if source tags list is empty
id: check_source_tags
Expand All @@ -45,17 +53,6 @@ jobs:
exit 0
fi
- name: Fetch destination tags
id: fetch_dest_tags
run: |
curl -s "https://hub.docker.com/v2/repositories/catglobe/mariadb/tags/?page_size=100" | \
jq -r '.results[].name' > dest_tags.txt
- name: Debug: Show fetched destination tags
run: |
echo "Destination tags fetched:"
cat dest_tags.txt
- name: Find missing tags
id: find_missing_tags
run: |
Expand Down

0 comments on commit d662999

Please sign in to comment.