Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
  • Loading branch information
andistorm committed Jul 8, 2024
1 parent d88aa2a commit ebd6620
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
REGISTRY: ghcr.io
DOCKER_DIRECTORY: docker/images/
DOCKER_DIRECTORY: docker/images
PLATFORMS: |
linux/amd64
# linux/arm64
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-single-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,18 @@ jobs:
else
echo "github_ref_before='${{ inputs.github_ref_before }}' is not a commit!❌ -> Rebuild image!"
echo "validation_failed=true" >> $GITHUB_OUTPUT
exit 0
fi
echo "Check validity of github_ref_after.."
if git cat-file -e $sha^{commit}; then
"github_ref_after='${{ inputs.github_ref_after }}' is a commit!✅"
else
echo "github_ref_after='${{ inputs.github_ref_after }}' is not a commit!❌ -> Rebuild image!"
echo "validation_failed=true" >> $GITHUB_OUTPUT
exit 0
fi
echo "validation_failed=false" >> $GITHUB_OUTPUT
working-directory: source
- name: Get changed files
if: steps.validate-inputs.outputs.validation_failed == 'false'
id: check
Expand Down

0 comments on commit ebd6620

Please sign in to comment.