Skip to content

Commit

Permalink
Fix conditional expression in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Moore <[email protected]>
  • Loading branch information
drmrd committed Dec 5, 2023
1 parent f6afe9f commit b7a097c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
- name: Ensure Docker image version is not referencing an existing release
id: docker-image-version-check
run: |
if ! [[ -s .env ]]; then
if ! [[ -s '.env' ]]; then
echo 'Error: No .env file found.'
exit 1
fi
if ! [[ grep -qE '^TAG=' .env ]]; then
if ! grep -qE '^TAG=' .env; then
echo 'Error: .env must contain a TAG variable.'
exit 1
fi
Expand Down

0 comments on commit b7a097c

Please sign in to comment.