Skip to content

Commit

Permalink
give error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Sep 13, 2024
1 parent 5782455 commit c1fba7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Check delimited-string for Docker tags
run: |
echo "${{ steps.docker-tags.outputs.target_string }}"
if [ "${{ steps.docker-tags.outputs.target_string }}" != "ghcr.io/foo-bar:dev, ghcr.io/foo-bar:tst, ghcr.io/foo-bar:prd" ]; then
expected="ghcr.io/foo-bar:dev, ghcr.io/foo-bar:tst, ghcr.io/foo-bar:prd"
if [ "${{ steps.docker-tags.outputs.target_string }}" != "$expected" ]; then
echo "${{ steps.docker-tags.outputs.target_string }} does not match $expected"
exit 1
fi

0 comments on commit c1fba7e

Please sign in to comment.