diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdb9bc4..52d0b58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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