Skip to content

Commit

Permalink
Update push.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage authored Jun 23, 2024
1 parent 55c6892 commit 4219dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
continue
fi
if [ -d "$dir" ]; then
if [ -f "$dir/Dockerfile" ]; then
if [ -f "$dir/Containerfile" ]; then
echo "Building and pushing $repo_name"
docker buildx build --platform linux/amd64,linux/arm64 \
-t quay.io/${{ secrets.QUAY_USERNAME }}/${repo_name}:latest \
--push "$dir"
else
echo "Skipping $repo_name: No Dockerfile found"
echo "Skipping $repo_name: No Containerfile found"
fi
else
echo "Skipping $dir: Not a directory"
Expand Down

0 comments on commit 4219dd9

Please sign in to comment.